TiddlyWiki5/bin/test.sh

14 wiersze
350 B
Bash
Executable File

#!/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 \
--rendertiddler $:/core/save/all test.html text/plain \
|| exit 1
echo To run the tests in a browser, open "editions/test/output/test.html"