mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
MAINT: More incremental site builds.
This commit is contained in:
parent
e8e3ffab2c
commit
4875a0d75d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
target
|
||||
.libtarget
|
||||
.built
|
||||
.vscode/settings.json
|
||||
docsite/site/generated
|
||||
docsite/site/public
|
||||
|
@ -20,9 +20,14 @@ all: build test
|
||||
test:
|
||||
ucg test -r
|
||||
|
||||
gensite:
|
||||
content := $(shell find site/content -type f -iname *.md)
|
||||
|
||||
site/.built: $(content)
|
||||
cd site; \
|
||||
gutenberg build -o generated
|
||||
touch site/.built
|
||||
|
||||
gensite: site/.built
|
||||
|
||||
deploysite: gensite
|
||||
cd site/; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user