Add make asm-docs (#4590)

This commit is contained in:
Jeremy Rifkin
2023-01-16 19:46:26 -05:00
committed by GitHub
parent 8423b9c03b
commit 4a1b5a85c5
3 changed files with 37 additions and 1 deletions

View File

@@ -95,3 +95,13 @@ gpu-dev: prereqs ## Runs the site as a developer; including live reload support
.PHONY: debug
debug: prereqs ## Runs the site as a developer with full debugging; including live reload support and installation of git hooks
./node_modules/.bin/supervisor -w app.js,lib,etc/config,static/tsconfig.json -e 'js|ts|node|properties|yaml' -n exit --inspect 9229 --exec $(NODE) $(NODE_ARGS) -- -r esm -r ts-node/register ./app.js --debug $(EXTRA_ARGS)
.PHONY:
asm-docs:
$(MAKE) -C etc/scripts/docenizers || ( \
echo "==============================================================================="; \
echo "One of the docenizers failed to run, make sure you have installed the necessary"; \
echo "dependencies: pip3 install beautifulsoup4 pdfminer.six && npm install"; \
echo "==============================================================================="; \
exit 1 \
)