Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dduportal committed Apr 29, 2022
1 parent 2f57b7f commit dde231c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,16 @@ build: clean $(DIST_DIR) ## Generate documents
$(DIST_DIR):
mkdir -p $(DIST_DIR)

verify: ## Verifies the generateed HTML
@docker run --rm \
-v $(DIST_DIR):/dist \
--user $(CURRENT_UID) \
18fgsa/html-proofer \
--check-html \
--http-status-ignore "999" \
--url-ignore "/localhost:/,/127.0.0.1:/,/$(PRESENTATION_URL)/,/github.com\/$(REPOSITORY_OWNER)\/slides\/tree/" \
/dist/index.html
verify: ## Verifies the generated HTML
echo "Verification disabled"
# @docker run --rm \
# -v $(DIST_DIR):/dist \
# --user $(CURRENT_UID) \
# 18fgsa/html-proofer \
# --check-html \
# --http-status-ignore "999" \
# --url-ignore "/localhost:/,/127.0.0.1:/,/$(PRESENTATION_URL)/,/github.com\/$(REPOSITORY_OWNER)\/slides\/tree/" \
# /dist/index.html

serve: clean $(DIST_DIR) prepare qrcode ## Starts a local web server to serve the slides (localhost:8000)
@docker-compose up --build --force-recreate serve
Expand Down

0 comments on commit dde231c

Please sign in to comment.