mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
21 lines
467 B
Bash
Executable File
21 lines
467 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# build TiddlyWiki5
|
|
|
|
# create a temporary directory if it doesn't already exist
|
|
mkdir -p tmp
|
|
mkdir -p tmp/tw5
|
|
|
|
# cook TiddlyWiki5
|
|
|
|
pushd tw5.com > /dev/null
|
|
|
|
node ../core/boot.js \
|
|
--verbose \
|
|
--savetiddler ReadMe ../readme.md text/html \
|
|
--savetiddler $:/core/templates/tiddlywiki5.template.html ../tmp/tw5/index.html text/plain \
|
|
--savetiddler $:/core/templates/static.template.html ../tmp/tw5/static.html text/plain \
|
|
|| exit 1
|
|
|
|
popd > /dev/null
|