1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-01 08:20:46 +00:00
TiddlyWiki5/bld.sh
Jeremy Ruston a99f34fcae Cleaning up batch file locations
Bit of a pain that boot.js is sensitive to the current directory
2012-05-05 23:31:41 +01:00

14 lines
387 B
Bash
Executable File

#!/bin/sh
# build TiddlyWiki5
# create a temporary directory if it doesn't already exist
mkdir -p tmp
mkdir -p tmp/tw5
# cook TiddlyWiki5
node ../core/boot.js --verbose \
--savetiddler ReadMe ../readme.md text/html \
--savetiddler $:/core/tiddlywiki5.template.html tmp/tw5/index.html text/plain \
--savetiddler $:/core/static.template.html tmp/tw5/static.html text/plain || exit 1