Compare commits
No commits in common. "c019a1536d605bf91d96f163d34e757aad99ca9b" and "eb756f8817aa93d8dd07696e685887f7e06f2746" have entirely different histories.
c019a1536d
...
eb756f8817
|
@ -1 +1 @@
|
||||||
index.html
|
out.html
|
||||||
|
|
12
justfile
12
justfile
|
@ -6,13 +6,13 @@ default:
|
||||||
build:
|
build:
|
||||||
@find src -name '*.txt' -type f | sort -n | xargs m4 macros
|
@find src -name '*.txt' -type f | sort -n | xargs m4 macros
|
||||||
|
|
||||||
# watch for changes and build index.html
|
# watch for changes and build out.html
|
||||||
watch:
|
watch:
|
||||||
@find src -type f | entr just html
|
@find src -type f | entr just html
|
||||||
|
|
||||||
# create index.html
|
# create out.html
|
||||||
html:
|
html:
|
||||||
@just build | pandoc --toc -s -c static/styles/main.css -H static/head.html -f markdown+simple_tables > index.html
|
@just build | pandoc --toc -s -c static/styles/main.css -H static/head.html -f markdown+simple_tables > out.html
|
||||||
|
|
||||||
# word count
|
# word count
|
||||||
words:
|
words:
|
||||||
|
@ -20,8 +20,4 @@ words:
|
||||||
|
|
||||||
# clean up artifacts
|
# clean up artifacts
|
||||||
clean:
|
clean:
|
||||||
@rm index.html
|
@rm out.html
|
||||||
|
|
||||||
# publish to town
|
|
||||||
up:
|
|
||||||
scp index.html tilde:~/public_html/forest/
|
|
||||||
|
|
Loading…
Reference in New Issue