1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
TiddlyWiki5/bin/tankbld.cmd
2014-09-08 16:32:34 +01:00

21 lines
495 B
Batchfile

@echo off
rem build the Tank edition of TiddlyWiki
rem See https://tank.peermore.com
rem Open the tank edition in TW5 and save the template for the main HTML file
node .\tiddlywiki.js ^
editions\tw5tank ^
--verbose ^
--output tmp ^
--rendertiddler $:/core/save/all app.html text/plain ^
|| exit 1
rem Prepend the type information that TiddlyWeb needs to turn the .html file into a .tid file
echo "type: text/html" > tmp\app.txt
echo "" >> tmp\app.txt
type tmp\app.html >> tmp\app.txt