Compare commits
No commits in common. "eb756f8817aa93d8dd07696e685887f7e06f2746" and "c019a1536d605bf91d96f163d34e757aad99ca9b" have entirely different histories.
eb756f8817
...
c019a1536d
|
@ -1 +1 @@
|
||||||
out.html
|
index.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 out.html
|
# watch for changes and build index.html
|
||||||
watch:
|
watch:
|
||||||
@find src -type f | entr just html
|
@find src -type f | entr just html
|
||||||
|
|
||||||
# create out.html
|
# create index.html
|
||||||
html:
|
html:
|
||||||
@just build | pandoc --toc -s -c static/styles/main.css -H static/head.html -f markdown+simple_tables > out.html
|
@just build | pandoc --toc -s -c static/styles/main.css -H static/head.html -f markdown+simple_tables > index.html
|
||||||
|
|
||||||
# word count
|
# word count
|
||||||
words:
|
words:
|
||||||
|
@ -20,4 +20,8 @@ words:
|
||||||
|
|
||||||
# clean up artifacts
|
# clean up artifacts
|
||||||
clean:
|
clean:
|
||||||
@rm out.html
|
@rm index.html
|
||||||
|
|
||||||
|
# publish to town
|
||||||
|
up:
|
||||||
|
scp index.html tilde:~/public_html/forest/
|
||||||
|
|
Loading…
Reference in New Issue