mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-14 13:54:50 +00:00
16 lines
370 B
Bash
Executable File
16 lines
370 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# build TiddlyWiki 2.x
|
|
|
|
# cook the TiddlyWiki 2.x.x index file
|
|
|
|
node ./tiddlywiki.js \
|
|
editions/tw2 \
|
|
--verbose \
|
|
--output tmp/tw2 \
|
|
--load editions/tw2/source/tiddlywiki.com/index.html.recipe \
|
|
--rendertiddler $:/core/templates/tiddlywiki2.template.html index.html text/plain \
|
|
|| exit 1
|
|
|
|
diff -q tmp/tw2/index.html editions/tw2/target/prebuilt.html
|