mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Remove scripts that have moved to build.jermolene.github.io
This commit is contained in:
parent
ed5a87c019
commit
5dfda99388
@ -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
|
@ -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
|
@ -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
|
@ -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
|
26
bin/wbld.cmd
26
bin/wbld.cmd
@ -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 <tiddlyspace username> <tiddlyspace password>
|
||||
|
||||
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
|
30
bin/wbld.sh
30
bin/wbld.sh
@ -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 <tiddlyspace username> <tiddlyspace password>
|
||||
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user