mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
e9557b578e
This change is likely to break most existing scripts that call TiddlyWiki. TL;DR - output paths are now relative to the editions/output folder, rather than to the current folder See [[Notes for upgrading to 5.0.11-beta]] for details.
25 lines
593 B
Bash
Executable File
25 lines
593 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# build TiddlyWiki 2.x
|
|
|
|
# Prepare the readme file from the revelant content in the tw5.com wiki
|
|
|
|
node ./tiddlywiki.js \
|
|
editions/tw5.com \
|
|
--verbose \
|
|
--output editions/tw2 \
|
|
--rendertiddler TiddlyWiki2ReadMe readme.md text/html \
|
|
|| exit 1
|
|
|
|
# cook the TiddlyWiki 2.x.x index file
|
|
|
|
node ./tiddlywiki.js \
|
|
editions/tw2 \
|
|
--verbose \
|
|
--output tmp/tw2 \
|
|
--load editions/tw2/source/tiddlywiki.com/index.html.recipe \
|
|
--rendertiddler $:/core/templates/tiddlywiki2.template.html index.html text/plain \
|
|
|| exit 1
|
|
|
|
diff -q tmp/tw2/index.html editions/tw2/target/prebuilt.html
|