mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-28 15:08:46 +00:00
17 lines
302 B
Bash
17 lines
302 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# test TiddlyWiki5
|
||
|
|
||
|
# create a temporary directory if it doesn't already exist
|
||
|
|
||
|
mkdir -p tmp
|
||
|
mkdir -p tmp/test
|
||
|
|
||
|
# build test.html
|
||
|
|
||
|
node ./tiddlywiki.js \
|
||
|
./editions/test \
|
||
|
--verbose \
|
||
|
--savetiddler $:/core/templates/tiddlywiki5.template.html tmp/test/index.html text/plain \
|
||
|
|| exit 1
|