Skip to content

Commit

Permalink
Dev: Local steps to dev & build with the static doc
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Nov 27, 2023
1 parent dcf73ba commit f75fab4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: test lint build-docker
.PHONY: test lint build-docker docs build-docs

test:
@echo "➡️ Running Prettier..."
Expand All @@ -14,5 +14,11 @@ lint:
@echo "➡️ Running Hadolint..."
find . -name "Dockerfile*" -exec bash -c "echo 'File {}:' && hadolint {}" \;

docs:
cd docs && hugo server

build-docker:
bash cicd/docker-build-local.sh

build-docs:
cd docs && hugo --gc --minify

0 comments on commit f75fab4

Please sign in to comment.