From 771595848541ba239433cfebbfc8a359dc22cde4 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 25 Oct 2013 12:46:46 +0100 Subject: [PATCH] Cleaning up the TW2 edition --- editions/tw2/target/{pre-widgetredux2.html => prebuilt.html} | 0 nbld.sh | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) rename editions/tw2/target/{pre-widgetredux2.html => prebuilt.html} (100%) diff --git a/editions/tw2/target/pre-widgetredux2.html b/editions/tw2/target/prebuilt.html similarity index 100% rename from editions/tw2/target/pre-widgetredux2.html rename to editions/tw2/target/prebuilt.html diff --git a/nbld.sh b/nbld.sh index e89aa8f9b..042181f4c 100755 --- a/nbld.sh +++ b/nbld.sh @@ -62,7 +62,10 @@ node ./tiddlywiki.js \ --new_rendertiddler $:/core/templates/tiddlywiki2.template.html ./tmp/tw2/index.html text/plain \ || exit 1 -opendiff tmp/tw2/index.html editions/tw2/target/pre-widgetredux2.html +# Compare what we've built to the prebuilt standard +# TODO: We should exit the batch file if there are any differences + +diff -q tmp/tw2/index.html editions/tw2/target/prebuilt.html # Run tests