14
Makefile
14
Makefile
@@ -1,12 +1,18 @@
|
||||
THEME := themes/huell
|
||||
.PHONY: all theme hugo dev clean
|
||||
|
||||
.PHONY: all theme hugo
|
||||
THEME := themes/caldwell
|
||||
|
||||
all: theme hugo
|
||||
all: hugo
|
||||
|
||||
theme:
|
||||
cd $(THEME) && \
|
||||
nix develop --command make
|
||||
|
||||
hugo:
|
||||
hugo: theme
|
||||
hugo
|
||||
|
||||
dev: theme
|
||||
hugo server -D --disableFastRender
|
||||
|
||||
clean:
|
||||
rm -rf public resources/_gen assets/jsconfig.json hugo_stats.json .hugo_build.lock
|
||||
|
Reference in New Issue
Block a user