TiddlyWiki5/2bld.sh

22 wiersze
460 B
Bash
Czysty Zwykły widok Historia

2012-06-01 17:27:33 +00:00
#!/bin/bash
# build TiddlyWiki 2.x
# create a temporary directory if it doesn't already exist
mkdir -p tmp
mkdir -p tmp/tw2
# cook TiddlyWiki5
2012-11-16 21:27:53 +00:00
pushd editions/tw2 > /dev/null
2012-11-16 21:27:53 +00:00
node ../../core/boot.js \
--verbose \
--load source/tiddlywiki.com/index.html.recipe \
2012-11-16 21:27:53 +00:00
--savetiddler $:/core/templates/tiddlywiki2.template.html ../../tmp/tw2/index.html text/plain \
|| exit 1
popd > /dev/null
2012-11-16 21:27:53 +00:00
opendiff tmp/tw2/index.html editions/tw2/target/index.2.6.5.html