mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +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:
parent
297a924d05
commit
3e4322d897
3
bld.sh
3
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
|
||||
|
16
test.sh
16
test.sh
@ -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
|
Loading…
Reference in New Issue
Block a user