1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Batch file cleanups

This commit is contained in:
Jeremy Ruston 2012-11-29 21:30:53 +00:00
parent 91e1a38db1
commit e65cb93fa2
8 changed files with 11 additions and 10 deletions

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
.DS_Store .DS_Store
tmp/ tmp/
archive/tmp/

View File

@ -10,7 +10,7 @@ mkdir -p tmp/tw2
pushd editions/tw2 > /dev/null pushd editions/tw2 > /dev/null
node ../../core/boot.js \ node ../../tiddlywiki.js \
--verbose \ --verbose \
--load source/tiddlywiki.com/index.html.recipe \ --load source/tiddlywiki.com/index.html.recipe \
--savetiddler $:/core/templates/tiddlywiki2.template.html ../../tmp/tw2/index.html text/plain \ --savetiddler $:/core/templates/tiddlywiki2.template.html ../../tmp/tw2/index.html text/plain \

4
bld.sh
View File

@ -8,7 +8,7 @@ pushd editions/tw5.com > /dev/null
echo "five.tiddlywiki.com" > ../../../jermolene.github.com/CNAME echo "five.tiddlywiki.com" > ../../../jermolene.github.com/CNAME
node ../../core/boot.js \ node ../../tiddlywiki.js \
--verbose \ --verbose \
--password password \ --password password \
--savetiddler ReadMe ../../readme.md text/html \ --savetiddler ReadMe ../../readme.md text/html \
@ -23,7 +23,7 @@ popd > /dev/null
pushd editions/empty > /dev/null pushd editions/empty > /dev/null
node ../../core/boot.js \ node ../../tiddlywiki.js \
--verbose \ --verbose \
--password password \ --password password \
--savetiddler $:/core/templates/tiddlywiki5.template.html ../../../jermolene.github.com/empty.html text/plain \ --savetiddler $:/core/templates/tiddlywiki5.template.html ../../../jermolene.github.com/empty.html text/plain \

View File

@ -11,7 +11,7 @@ cp tw5dropbox/dummycontent/*.* ../../../Apps/TiddlyWiki5/My\ TiddlyWiki/tiddlers
pushd editions/tw5dropbox/appwiki > /dev/null pushd editions/tw5dropbox/appwiki > /dev/null
node ../../../core/boot.js \ node ../../tiddlywiki.js \
--verbose \ --verbose \
--savetiddler $:/plugins/dropbox/tw5dropbox.template.js ../../../../../../Apps/Static\ Web\ Apps/TiddlyWiki5/public/tw5dropbox.js text/plain \ --savetiddler $:/plugins/dropbox/tw5dropbox.template.js ../../../../../../Apps/Static\ Web\ Apps/TiddlyWiki5/public/tw5dropbox.js text/plain \
--savetiddler $:/plugins/dropbox/index.template.html ../../../../../../Apps/TiddlyWiki5/My\ TiddlyWiki/index.html text/plain \ --savetiddler $:/plugins/dropbox/index.template.html ../../../../../../Apps/TiddlyWiki5/My\ TiddlyWiki/index.html text/plain \
@ -25,7 +25,7 @@ popd > /dev/null
pushd editions/tw5dropbox/mainwiki > /dev/null pushd editions/tw5dropbox/mainwiki > /dev/null
node ../../../core/boot.js \ node ../../tiddlywiki.js \
--verbose \ --verbose \
--savetiddler $:/plugins/dropbox/index.template.html ../../../../../../Apps/Static\ Web\ Apps/TiddlyWiki5/public/index.html text/plain \ --savetiddler $:/plugins/dropbox/index.template.html ../../../../../../Apps/Static\ Web\ Apps/TiddlyWiki5/public/index.html text/plain \
|| exit 1 || exit 1

2
run.sh
View File

@ -4,7 +4,7 @@
pushd editions/tw5.com > /dev/null pushd editions/tw5.com > /dev/null
node ../../core/boot.js \ node ../../tiddlywiki.js \
--verbose \ --verbose \
--wikitest ../../tests/wikitests/ \ --wikitest ../../tests/wikitests/ \
|| exit 1 || exit 1

View File

@ -4,7 +4,7 @@
pushd editions/tw5.com > /dev/null pushd editions/tw5.com > /dev/null
node ../../core/boot.js \ node ../../tiddlywiki.js \
--verbose \ --verbose \
--server 8080 $:/core/templates/tiddlywiki5.template.html text/plain text/html \ --server 8080 $:/core/templates/tiddlywiki5.template.html text/plain text/html \
|| exit 1 || exit 1

View File

@ -4,4 +4,4 @@
This is invoked as a shell script by NPM when the `tiddlywiki` command is typed This is invoked as a shell script by NPM when the `tiddlywiki` command is typed
*/ */
var tiddlywiki = require("./boot.js"); var tiddlywiki = require("./core/boot.js");

View File

@ -7,7 +7,7 @@
pushd editions/tw5tiddlyweb > /dev/null pushd editions/tw5tiddlyweb > /dev/null
node ../../core/boot.js \ node ../../tiddlywiki.js \
--verbose \ --verbose \
--savetiddler $:/core/templates/tiddlywiki5.template.html ../../../jermolene.github.com/tiddlyweb.html text/plain \ --savetiddler $:/core/templates/tiddlywiki5.template.html ../../../jermolene.github.com/tiddlyweb.html text/plain \
|| exit 1 || exit 1
@ -20,3 +20,5 @@ echo "" >> tmp/tmp.txt
cat ../jermolene.github.com/tiddlyweb.html >> tmp/tmp.txt cat ../jermolene.github.com/tiddlyweb.html >> tmp/tmp.txt
curl -u $1:$2 -X PUT -H "content-type: text/plain" http://tw5tiddlyweb.tiddlyspace.com/bags/tw5tiddlyweb_public/tiddlers/tw5 --data-binary @tmp/tmp.txt curl -u $1:$2 -X PUT -H "content-type: text/plain" http://tw5tiddlyweb.tiddlyspace.com/bags/tw5tiddlyweb_public/tiddlers/tw5 --data-binary @tmp/tmp.txt
rm tmp/tmp.txt