1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-03 02:33:15 +00:00
TiddlyWiki5/test.sh

11 lines
364 B
Bash
Raw Normal View History

2011-11-22 14:29:29 +00:00
#!/bin/sh
# cook the recipe with the old cook.rb (assuming you have set it up as described in github.com/TiddlyWiki/cooker)
cook $PWD/test/data/tiddlywiki.com/index.html.recipe -d $PWD -o oldcooked.html
# cook it with cook.js
node cook.js $PWD/test/data/tiddlywiki.com/index.html.recipe > newcooked.html
# compare the two
opendiff oldcooked.html newcooked.html