kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Run the tests in the main build script
Getting to the point where we should probably be using a make toolprint-window-tiddler
rodzic
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
|
Ładowanie…
Reference in New Issue