diff --git a/bin/deploy.cmd b/bin/deploy.cmd deleted file mode 100644 index d1bf0cf5c..000000000 --- a/bin/deploy.cmd +++ /dev/null @@ -1,17 +0,0 @@ -@echo off - -rem Publish to NPM - -npm publish || exit 1 - -rem Deploy latest build to github - -pushd ..\jermolene.github.com - -git add --all || exit 1 - -git commit -m "Updates" || exit 1 - -git push origin || exit 1 - -popd diff --git a/bin/deploy.sh b/bin/deploy.sh deleted file mode 100755 index 7c392005c..000000000 --- a/bin/deploy.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Publish to NPM - -npm publish || exit 1 - -# Deploy latest build to github - -pushd ../jermolene.github.com - -git add --all || exit 1 - -git commit -m "Updates" || exit 1 - -git push origin || exit 1 - -popd diff --git a/bin/verbump.cmd b/bin/verbump.cmd deleted file mode 100644 index 378a3e3e8..000000000 --- a/bin/verbump.cmd +++ /dev/null @@ -1,16 +0,0 @@ -@echo off - -rem Bump to a new version number - -if "x%1" == "x" ( - echo Missing version (eg '5.0.0-alpha'^) - exit 1 -) - -rem Set the new version number (will also commit and tag the release) - -npm version %1 -m "Version number update for %1" || exit 1 - -rem Make sure our tags are pushed to the origin server - -git push origin --tags || exit 1 diff --git a/bin/verbump.sh b/bin/verbump.sh deleted file mode 100755 index fe97908ef..000000000 --- a/bin/verbump.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Bump to a new version number - -if [ -z "$1" ] - then - echo "Missing version (eg '5.0.0-alpha')" - exit 1 -fi - -# Set the new version number (will also commit and tag the release) - -npm version $1 -m "Version number update for $1" || exit 1 - -# Make sure our tags are pushed to the origin server - -git push origin --tags || exit 1 diff --git a/bin/wbld.cmd b/bin/wbld.cmd deleted file mode 100644 index 31c028d39..000000000 --- a/bin/wbld.cmd +++ /dev/null @@ -1,26 +0,0 @@ -@echo off - -rem build the TiddlyWeb edition of TiddlyWiki5 and upload it to TiddlySpace. Requires the TiddlySpace credentials -rem of a member of the tw5tiddlyweb space - -rem usage: -rem .\wbld.cmd - -rem Open the tw5tiddlyweb edition in TW5 and save the template for the main HTML file - -node .\tiddlywiki.js ^ - editions\tw5tiddlyweb ^ - --verbose ^ - --output tmp ^ - --rendertiddler $:/core/save/all tiddlyweb.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\tiddlerforupload.txt -echo "" >> tmp\tiddlerforupload.txt -type tmp\tiddlyweb.html >> tmp\tiddlerforupload.txt - -rem Upload the tiddler file - -curl -u %1:%2 -X PUT -H "content-type: text/plain" http://tw5tiddlyweb.tiddlyspace.com/bags/tw5tiddlyweb_public/tiddlers/tw5 --data-binary @tmp/tiddlerforupload.txt diff --git a/bin/wbld.sh b/bin/wbld.sh deleted file mode 100755 index a50ba3042..000000000 --- a/bin/wbld.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -# build the TiddlyWeb edition of TiddlyWiki5 and upload it to TiddlySpace. Requires the TiddlySpace credentials -# of a member of the tw5tiddlyweb space - -# usage: -# ./wbld.sh - -# Create the tmp directory if needed - -mkdir -p tmp - -# Open the tw5tiddlyweb edition in TW5 and save the template for the main HTML file - -node ./tiddlywiki.js \ - editions/tw5tiddlyweb \ - --verbose \ - --output tmp \ - --rendertiddler $:/core/save/all tiddlyweb.html text/plain \ - || exit 1 - -# Prepend the type information that TiddlyWeb needs to turn the .html file into a .tid file - -echo "type: text/html" > tmp/tiddlerforupload.txt -echo "" >> tmp/tiddlerforupload.txt -cat tmp/tiddlyweb.html >> tmp/tiddlerforupload.txt - -# Upload the tiddler file - -curl -u $1:$2 -X PUT -H "content-type: text/plain" http://tw5tiddlyweb.tiddlyspace.com/bags/tw5tiddlyweb_public/tiddlers/tw5 --data-binary @tmp/tiddlerforupload.txt