mirror of
https://github.com/Oreolek/gamebookformat.git
synced 2024-06-26 03:41:04 +03:00
node test script working with new html scripts
This commit is contained in:
parent
a1057b81c9
commit
f96565e83c
9
Makefile
9
Makefile
|
@ -67,11 +67,7 @@ upload: html png pdf rtf
|
|||
$(uploadto);\
|
||||
fi
|
||||
|
||||
test/templatejs/htmlscripts.js: $(wildcard templates/html/*script.html)
|
||||
./templates.py html script > $@
|
||||
|
||||
templatejstest: test/templatejs/htmlscripts.js \
|
||||
test/templatejs/testhtmlscripts.js
|
||||
templatejstest:
|
||||
node test/templatejs/testhtmlscripts.js
|
||||
|
||||
clean:
|
||||
|
@ -86,7 +82,8 @@ clean:
|
|||
fixmes:
|
||||
grep FIXME *.py
|
||||
|
||||
.PHONY: all clean fixmes uploadto expected checkexpected test unittest
|
||||
.PHONY: all clean fixmes uploadto expected checkexpected test unittest \
|
||||
templatejstest
|
||||
|
||||
.PRECIOUS: %.tex %.dot
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
var htmlscriptsfile = './htmlscripts.js';
|
||||
var htmlscriptsfile = '../../gamebookformatplay.js';
|
||||
|
||||
exports.setUp = function(cb) {
|
||||
delete require.cache[require.resolve(htmlscriptsfile)];
|
||||
|
|
Loading…
Reference in a new issue