mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-06-05 16:14:07 +00:00
Update batch files to use build system
This commit is contained in:
parent
6f3e31abe5
commit
917c4404e5
17
bld.cmd
17
bld.cmd
@ -35,19 +35,9 @@ node .\tiddlywiki.js ^
|
|||||||
.\editions\tw5.com ^
|
.\editions\tw5.com ^
|
||||||
--verbose ^
|
--verbose ^
|
||||||
--output . ^
|
--output . ^
|
||||||
--rendertiddler ReadMe .\readme.md text/html ^
|
--build readmes ^
|
||||||
--rendertiddler ContributingTemplate .\contributing.md text/html ^
|
|
||||||
--rendertiddler $:/core/copyright.txt .\licenses\copyright.md text/plain ^
|
|
||||||
--output %TW5_BUILD_OUTPUT% ^
|
--output %TW5_BUILD_OUTPUT% ^
|
||||||
--rendertiddler $:/core/save/all index.html text/plain ^
|
--build favicon empty static index ^
|
||||||
--savetiddler $:/favicon.ico favicon.ico ^
|
|
||||||
--rendertiddler $:/editions/tw5.com/download-empty empty.html text/plain ^
|
|
||||||
--rendertiddler $:/editions/tw5.com/download-empty empty.hta text/plain ^
|
|
||||||
--savetiddler $:/green_favicon.ico %TW5_BUILD_OUTPUT%/static/favicon.ico ^
|
|
||||||
--rendertiddler $:/core/templates/static.template.html static.html text/plain ^
|
|
||||||
--rendertiddler $:/core/templates/alltiddlers.template.html alltiddlers.html text/plain ^
|
|
||||||
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html static text/plain ^
|
|
||||||
--rendertiddler $:/core/templates/static.template.css static\static.css text/plain ^
|
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
rem encrypted.html: a version of the main file encrypted with the password "password"
|
rem encrypted.html: a version of the main file encrypted with the password "password"
|
||||||
@ -56,8 +46,7 @@ node .\tiddlywiki.js ^
|
|||||||
.\editions\tw5.com ^
|
.\editions\tw5.com ^
|
||||||
--verbose ^
|
--verbose ^
|
||||||
--output %TW5_BUILD_OUTPUT% ^
|
--output %TW5_BUILD_OUTPUT% ^
|
||||||
--password password ^
|
--build encrypted ^
|
||||||
--rendertiddler $:/core/save/all encrypted.html text/plain ^
|
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
rem tahoelafs.html: empty wiki with plugin for Tahoe-LAFS
|
rem tahoelafs.html: empty wiki with plugin for Tahoe-LAFS
|
||||||
|
17
bld.sh
17
bld.sh
@ -36,19 +36,9 @@ node ./tiddlywiki.js \
|
|||||||
./editions/tw5.com \
|
./editions/tw5.com \
|
||||||
--verbose \
|
--verbose \
|
||||||
--output . \
|
--output . \
|
||||||
--rendertiddler ReadMe ./readme.md text/html \
|
--build readmes \
|
||||||
--rendertiddler ContributingTemplate ./contributing.md text/html \
|
|
||||||
--rendertiddler $:/core/copyright.txt ./licenses/copyright.md text/plain \
|
|
||||||
--output $TW5_BUILD_OUTPUT \
|
--output $TW5_BUILD_OUTPUT \
|
||||||
--rendertiddler $:/core/save/all index.html text/plain \
|
--build favicon empty static index \
|
||||||
--savetiddler $:/favicon.ico favicon.ico \
|
|
||||||
--rendertiddler $:/editions/tw5.com/download-empty empty.html text/plain \
|
|
||||||
--rendertiddler $:/editions/tw5.com/download-empty empty.hta text/plain \
|
|
||||||
--savetiddler $:/green_favicon.ico static/favicon.ico \
|
|
||||||
--rendertiddler $:/core/templates/static.template.html static.html text/plain \
|
|
||||||
--rendertiddler $:/core/templates/alltiddlers.template.html alltiddlers.html text/plain \
|
|
||||||
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html static text/plain \
|
|
||||||
--rendertiddler $:/core/templates/static.template.css static/static.css text/plain \
|
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
# encrypted.html: a version of the main file encrypted with the password "password"
|
# encrypted.html: a version of the main file encrypted with the password "password"
|
||||||
@ -57,8 +47,7 @@ node ./tiddlywiki.js \
|
|||||||
./editions/tw5.com \
|
./editions/tw5.com \
|
||||||
--verbose \
|
--verbose \
|
||||||
--output $TW5_BUILD_OUTPUT \
|
--output $TW5_BUILD_OUTPUT \
|
||||||
--password password \
|
--build encrypted \
|
||||||
--rendertiddler $:/core/save/all encrypted.html text/plain \
|
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
# tahoelafs.html: empty wiki with plugin for Tahoe-LAFS
|
# tahoelafs.html: empty wiki with plugin for Tahoe-LAFS
|
||||||
|
@ -43,7 +43,8 @@
|
|||||||
"readmes": [
|
"readmes": [
|
||||||
"--rendertiddler","ReadMe","readme.md","text/html",
|
"--rendertiddler","ReadMe","readme.md","text/html",
|
||||||
"--rendertiddler","ContributingTemplate","contributing.md","text/html",
|
"--rendertiddler","ContributingTemplate","contributing.md","text/html",
|
||||||
"--rendertiddler","$:/core/copyright.txt","licenses/copyright.md","text/plain",
|
"--rendertiddler","$:/core/copyright.txt","licenses/copyright.md","text/plain"],
|
||||||
|
"tw2": [
|
||||||
"--rendertiddler","TiddlyWiki2ReadMe","tw2/readme.md","text/html"],
|
"--rendertiddler","TiddlyWiki2ReadMe","tw2/readme.md","text/html"],
|
||||||
"empty": [
|
"empty": [
|
||||||
"--rendertiddler","$:/editions/tw5.com/download-empty","empty.html","text/plain",
|
"--rendertiddler","$:/editions/tw5.com/download-empty","empty.html","text/plain",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user