remove clean to avoid 404 while building

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
jamesk-patch-20
Toshaan Bharvani 3 years ago
parent 32699ee0be
commit 7b7cb6cab3

@ -5,7 +5,7 @@ HUGO=hugo-extended
default all: build

.PHONY: build
build: clean
build:
$(HUGO) --environment=production --minify --templateMetrics
@find public/ -name '*.html' ! -name '*.gz' -type f -exec sh -c "gzip -c -9 < {} > {}.gz" \;
@find public/ -name '*.css' ! -name '*.gz' -type f -exec sh -c "gzip -c -9 < {} > {}.gz" \;

Loading…
Cancel
Save