1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 07:44:51 +00:00
TiddlyWiki5/2bld.sh

25 lines
593 B
Bash
Raw Normal View History

2012-06-01 17:27:33 +00:00
#!/bin/bash
# build TiddlyWiki 2.x
2013-02-09 17:08:19 +00:00
# Prepare the readme file from the revelant content in the tw5.com wiki
2013-01-22 09:08:26 +00:00
2013-02-09 17:08:19 +00:00
node ./tiddlywiki.js \
editions/tw5.com \
2013-01-22 09:08:26 +00:00
--verbose \
--output editions/tw2 \
--rendertiddler TiddlyWiki2ReadMe readme.md text/html \
2013-01-22 09:08:26 +00:00
|| exit 1
# cook the TiddlyWiki 2.x.x index file
2013-02-09 17:08:19 +00:00
node ./tiddlywiki.js \
editions/tw2 \
--verbose \
--output tmp/tw2 \
2013-02-09 17:08:19 +00:00
--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