Browse Source

remove clean to avoid 404 while building

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
master
Toshaan Bharvani 9 months ago
parent
commit
7b7cb6cab3
  1. 2
      Makefile

2
Makefile

@ -5,7 +5,7 @@ HUGO=hugo-extended @@ -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