TiddlyWiki5/bld.sh

22 wiersze
446 B
Bash
Czysty Zwykły widok Historia

#!/bin/sh
# 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-05 22:32:04 +00:00
--savetiddler $:/core/tiddlywiki5.template.html ../tmp/tw5/index.html text/plain \
--savetiddler $:/core/static.template.html ../tmp/tw5/static.html text/plain \
|| exit 1
popd > /dev/null