TiddlyWiki5/bin/test.sh

16 lines
373 B
Bash
Raw Normal View History

#!/bin/bash
# test TiddlyWiki5 for tiddlywiki.com
# Run the test edition to run the node.js tests and to generate test.html for tests in the browser
node ./tiddlywiki.js \
./editions/test \
--verbose \
--version \
--rendertiddler $:/core/save/all test.html text/plain \
2022-11-20 17:54:18 +00:00
--test \
|| exit 1
2014-10-15 20:55:45 +00:00
echo To run the tests in a browser, open "editions/test/output/test.html"