1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-08 10:59:57 +00:00
TiddlyWiki5/rabbithole/tw5.com/run.sh
Jeremy Ruston 8203437a4f Starting to implement cooking down the rabbithole
The idea is that rendering tiddlywiki5.template.html to text/plain will
cook the TiddlyWiki HTML file
2012-05-05 11:24:45 +01:00

20 lines
632 B
Bash
Executable File

#!/bin/sh
# run TiddlyWiki5
node ../core/boot.js --verbose --wikitest ../../test/wikitests/ || exit 1
node ../core/boot.js --verbose --savetiddler $:/core/tiddlywiki5.template.html ../tmp/tw5/rabbit.html text/plain || exit 1
# run jshint
jshint ../core/*.js
jshint ../core/modules/*.js
jshint ../core/modules/commands/*.js
jshint ../core/modules/macros/*.js
jshint ../core/modules/macros/edit/*.js
jshint ../core/modules/macros/edit/editors/*.js
jshint ../core/modules/parsers/*.js
jshint ../core/modules/parsers/wikitextparser/*.js
jshint ../core/modules/parsers/wikitextparser/rules/*.js
jshint ../core/modules/treenodes/*.js