diff --git a/bld.sh b/bld.sh index f5645f222..a96b3e944 100755 --- a/bld.sh +++ b/bld.sh @@ -59,3 +59,6 @@ node ./tiddlywiki.js \ --savetiddler $:/core/templates/tiddlywiki5.template.html $TW5_BUILD_OUTPUT/empty.html text/plain \ || exit 1 +# Fourth, run the test edition to run the node.js tests and to generate test.html for tests in the browser + +./test.sh diff --git a/test.sh b/test.sh deleted file mode 100755 index 82607e4b1..000000000 --- a/test.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/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