1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 23:34:50 +00:00
TiddlyWiki5/bld.sh

21 lines
467 B
Bash
Raw Normal View History

2012-06-01 17:27:33 +00:00
#!/bin/bash
# build TiddlyWiki5
# create a temporary directory if it doesn't already exist
mkdir -p tmp
mkdir -p tmp/tw5
# cook TiddlyWiki5
2012-05-05 22:32:04 +00:00
pushd tw5.com > /dev/null
node ../core/boot.js \
--verbose \
2012-05-05 22:08:00 +00:00
--savetiddler ReadMe ../readme.md text/html \
2012-05-20 14:20:21 +00:00
--savetiddler $:/core/templates/tiddlywiki5.template.html ../tmp/tw5/index.html text/plain \
--savetiddler $:/core/templates/static.template.html ../tmp/tw5/static.html text/plain \
2012-05-05 22:32:04 +00:00
|| exit 1
popd > /dev/null