1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 02:50:27 +00:00

Run the tests in the main build script

Getting to the point where we should probably be using a make tool
This commit is contained in:
Jeremy Ruston 2013-04-25 17:16:00 +01:00
parent 297a924d05
commit 3e4322d897
2 changed files with 3 additions and 16 deletions

3
bld.sh
View File

@ -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

16
test.sh
View File

@ -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