mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
121aecf485
Signed-off-by: lucperkins <lucperkins@gmail.com>
38 lines
552 B
Makefile
38 lines
552 B
Makefile
clean:
|
|
rm -rf public
|
|
|
|
load-docs:
|
|
scripts/load-docs.sh
|
|
|
|
setup:
|
|
npm install
|
|
|
|
serve:
|
|
hugo server \
|
|
--buildDrafts \
|
|
--buildFuture
|
|
|
|
production-build: clean load-docs
|
|
hugo \
|
|
--contentDir generated \
|
|
--ignoreCache \
|
|
--minify
|
|
|
|
preview-build: clean load-docs
|
|
hugo \
|
|
--baseURL $(DEPLOY_PRIME_URL) \
|
|
--buildDrafts \
|
|
--buildFuture \
|
|
--contentDir generated \
|
|
--ignoreCache \
|
|
--minify
|
|
|
|
linkcheck-build:
|
|
hugo \
|
|
--baseURL "/" \
|
|
--buildDrafts \
|
|
--buildFuture
|
|
|
|
linkcheck: clean linkcheck-build
|
|
htmlproofer ./public --empty-alt-ignore
|