kopia lustrzana https://github.com/miklobit/TiddlyWiki5
rodzic
89e38a6547
commit
1b23ecee0f
23
bld.sh
23
bld.sh
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# build TiddlyWiki5
|
||||
# build TiddlyWiki5 for five.tiddlywiki.com
|
||||
|
||||
# First, index.html: the main file, including content
|
||||
|
||||
pushd editions/tw5.com > /dev/null
|
||||
|
||||
|
@ -10,10 +12,23 @@ node ../../core/boot.js \
|
|||
--verbose \
|
||||
--password password \
|
||||
--savetiddler ReadMe ../../readme.md text/html \
|
||||
--savetiddler $:/core/templates/tiddlywiki5.template.html ../../../jermolene.github.com/index.html text/plain [!is[shadow]]\
|
||||
--savetiddler $:/core/templates/tiddlywiki5.template.html ../../../jermolene.github.com/empty.html text/plain [!is[shadow]is[shadow]]\
|
||||
--savetiddler $:/core/templates/tiddlywiki5.encrypted.template.html ../../../jermolene.github.com/encrypted.html text/plain [!is[shadow]]\
|
||||
--savetiddler $:/core/templates/tiddlywiki5.template.html ../../../jermolene.github.com/index.html text/plain [!is[shadow]] \
|
||||
--savetiddler $:/core/templates/tiddlywiki5.template.html ../../../jermolene.github.com/empty.html text/plain [!is[shadow]is[shadow]] \
|
||||
--savetiddler $:/core/templates/tiddlywiki5.encrypted.template.html ../../../jermolene.github.com/encrypted.html text/plain [!is[shadow]] \
|
||||
--savetiddler $:/core/templates/static.template.html ../../../jermolene.github.com/static.html text/plain \
|
||||
|| exit 1
|
||||
|
||||
popd > /dev/null
|
||||
|
||||
# Second, empty.html: empty wiki for reuse
|
||||
|
||||
pushd editions/empty > /dev/null
|
||||
|
||||
node ../../core/boot.js \
|
||||
--verbose \
|
||||
--password password \
|
||||
--savetiddler $:/core/templates/tiddlywiki5.template.html ../../../jermolene.github.com/empty.html text/plain [!is[shadow]] \
|
||||
--savetiddler $:/core/templates/tiddlywiki5.encrypted.template.html ../../../jermolene.github.com/empty_encrypted.html text/plain [!is[shadow]] \
|
||||
|| exit 1
|
||||
|
||||
popd > /dev/null
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"plugins": [
|
||||
"tiddlywiki/fullscreen",
|
||||
"tiddlywiki/tw2parser"
|
||||
]
|
||||
}
|
File diff suppressed because one or more lines are too long
Ładowanie…
Reference in New Issue