feat(build): add build target
This commit is contained in:
parent
93ad4992a7
commit
66c160a3d2
4 changed files with 28 additions and 2 deletions
5
Makefile
5
Makefile
|
|
@ -1,4 +1,4 @@
|
||||||
.PHONY: requirements.txt requirements-dev.txt configure Pipfile.lock src/sphinx_theme_ref/assets
|
.PHONY: requirements.txt requirements-dev.txt configure Pipfile.lock src/sphinx_theme_ref/assets build
|
||||||
|
|
||||||
PKG_BASENAME := sphinx_theme_ref
|
PKG_BASENAME := sphinx_theme_ref
|
||||||
|
|
||||||
|
|
@ -26,3 +26,6 @@ uat:
|
||||||
make -C vendor/html-theme-ref watch OUTPUT_PATH=$(VENDOR_OUTPUT_PATH) & \
|
make -C vendor/html-theme-ref watch OUTPUT_PATH=$(VENDOR_OUTPUT_PATH) & \
|
||||||
wait
|
wait
|
||||||
|
|
||||||
|
build:
|
||||||
|
.venv/bin/pipenv run build
|
||||||
|
|
||||||
|
|
|
||||||
4
Pipfile
4
Pipfile
|
|
@ -13,6 +13,10 @@ autopep8 = "~=2.3.2"
|
||||||
setuptools-scm = "~=8.2.0"
|
setuptools-scm = "~=8.2.0"
|
||||||
pipenv = "~=2024.4.1"
|
pipenv = "~=2024.4.1"
|
||||||
pylint = "~=3.3.6"
|
pylint = "~=3.3.6"
|
||||||
|
build = "*"
|
||||||
|
|
||||||
[requires]
|
[requires]
|
||||||
python_version = "3.11"
|
python_version = "3.11"
|
||||||
|
|
||||||
|
[scripts]
|
||||||
|
"build" = "python3 -m build"
|
||||||
|
|
|
||||||
19
Pipfile.lock
generated
19
Pipfile.lock
generated
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"_meta": {
|
"_meta": {
|
||||||
"hash": {
|
"hash": {
|
||||||
"sha256": "8c2e30a675ca4e39b00ab619b8a7d2e3b8331eb4e4a8a7a9613526d113501465"
|
"sha256": "392503c17641b02b8fc371df27b291782f0d9bec49c60057424a5147f859d3c5"
|
||||||
},
|
},
|
||||||
"pipfile-spec": 6,
|
"pipfile-spec": 6,
|
||||||
"requires": {
|
"requires": {
|
||||||
|
|
@ -363,6 +363,15 @@
|
||||||
"markers": "python_version >= '3.9'",
|
"markers": "python_version >= '3.9'",
|
||||||
"version": "==2.3.2"
|
"version": "==2.3.2"
|
||||||
},
|
},
|
||||||
|
"build": {
|
||||||
|
"hashes": [
|
||||||
|
"sha256:1d61c0887fa860c01971625baae8bdd338e517b836a2f70dd1f7aa3a6b2fc5b5",
|
||||||
|
"sha256:b36993e92ca9375a219c99e606a122ff365a760a2d4bba0caa09bd5278b608b7"
|
||||||
|
],
|
||||||
|
"index": "pypi",
|
||||||
|
"markers": "python_version >= '3.8'",
|
||||||
|
"version": "==1.2.2.post1"
|
||||||
|
},
|
||||||
"cachetools": {
|
"cachetools": {
|
||||||
"hashes": [
|
"hashes": [
|
||||||
"sha256:1a661caa9175d26759571b2e19580f9d6393969e5dfca11fdb1f947a23e640d4",
|
"sha256:1a661caa9175d26759571b2e19580f9d6393969e5dfca11fdb1f947a23e640d4",
|
||||||
|
|
@ -539,6 +548,14 @@
|
||||||
"markers": "python_version >= '3.9'",
|
"markers": "python_version >= '3.9'",
|
||||||
"version": "==1.9.0"
|
"version": "==1.9.0"
|
||||||
},
|
},
|
||||||
|
"pyproject-hooks": {
|
||||||
|
"hashes": [
|
||||||
|
"sha256:1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8",
|
||||||
|
"sha256:9e5c6bfa8dcc30091c74b0cf803c81fdd29d94f01992a7707bc97babb1141913"
|
||||||
|
],
|
||||||
|
"markers": "python_version >= '3.7'",
|
||||||
|
"version": "==1.2.0"
|
||||||
|
},
|
||||||
"setuptools": {
|
"setuptools": {
|
||||||
"hashes": [
|
"hashes": [
|
||||||
"sha256:583b361c8da8de57403743e756609670de6fb2345920e36dc5c2d914c319c945",
|
"sha256:583b361c8da8de57403743e756609670de6fb2345920e36dc5c2d914c319c945",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
-i https://pypi.org/simple
|
-i https://pypi.org/simple
|
||||||
astroid==3.3.9; python_full_version >= '3.9.0'
|
astroid==3.3.9; python_full_version >= '3.9.0'
|
||||||
autopep8==2.3.2; python_version >= '3.9'
|
autopep8==2.3.2; python_version >= '3.9'
|
||||||
|
build==1.2.2.post1; python_version >= '3.8'
|
||||||
cachetools==5.5.2; python_version >= '3.7'
|
cachetools==5.5.2; python_version >= '3.7'
|
||||||
certifi==2025.1.31; python_version >= '3.6'
|
certifi==2025.1.31; python_version >= '3.6'
|
||||||
chardet==5.2.0; python_version >= '3.7'
|
chardet==5.2.0; python_version >= '3.7'
|
||||||
|
|
@ -19,6 +20,7 @@ pluggy==1.5.0; python_version >= '3.8'
|
||||||
pycodestyle==2.12.1; python_version >= '3.8'
|
pycodestyle==2.12.1; python_version >= '3.8'
|
||||||
pylint==3.3.6; python_full_version >= '3.9.0'
|
pylint==3.3.6; python_full_version >= '3.9.0'
|
||||||
pyproject-api==1.9.0; python_version >= '3.9'
|
pyproject-api==1.9.0; python_version >= '3.9'
|
||||||
|
pyproject-hooks==1.2.0; python_version >= '3.7'
|
||||||
setuptools==77.0.3; python_version >= '3.9'
|
setuptools==77.0.3; python_version >= '3.9'
|
||||||
setuptools-scm==8.2.0; python_version >= '3.8'
|
setuptools-scm==8.2.0; python_version >= '3.8'
|
||||||
tomlkit==0.13.2; python_version >= '3.8'
|
tomlkit==0.13.2; python_version >= '3.8'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue