feat(build): init vendor integration
Now, the HTML theme build is daisy-chained to the build of the Sphinx theme, including a skeleton for watching, which will be part of user-acceptance testing, which will be sphinx-autobuild building `docs/`.
This commit is contained in:
parent
cd7aca7b45
commit
39fd5a7bf2
3 changed files with 238 additions and 1 deletions
17
Makefile
17
Makefile
|
|
@ -1,4 +1,8 @@
|
|||
.PHONY: requirements.txt requirements-dev.txt configure Pipfile.lock
|
||||
.PHONY: requirements.txt requirements-dev.txt configure Pipfile.lock src/sphinx_theme_ref/assets
|
||||
|
||||
PKG_BASENAME := sphinx_theme_ref
|
||||
|
||||
VENDOR_OUTPUT_PATH := $(shell realpath ./src/sphinx_theme_ref/assets)
|
||||
|
||||
Pipfile.lock:
|
||||
.venv/bin/pipenv lock
|
||||
|
|
@ -11,3 +15,14 @@ requirements-dev.txt:
|
|||
|
||||
configure:
|
||||
autoconf
|
||||
|
||||
src/sphinx_theme_ref/assets:
|
||||
rm -r src/$(PKG_BASENAME)/assets
|
||||
make -C vendor/html-theme-ref build/production OUTPUT_PATH=$(VENDOR_OUTPUT_PATH)
|
||||
|
||||
# user acceptance testing
|
||||
uat:
|
||||
trap 'kill 0' SIGINT; \
|
||||
make -C vendor/html-theme-ref watch OUTPUT_PATH=$(VENDOR_OUTPUT_PATH) & \
|
||||
wait
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue