Sync bld.cmd with latest bld.sh

Synced bld.cmd to bld.sh, added some mostly cosmetic changes in the command scripts to make them even more 1-to-1 with the .sh scripts.
print-window-tiddler
Adrian Sampaleanu 2013-11-26 16:43:00 -05:00
rodzic 1b54313615
commit c4a85e3b82
6 zmienionych plików z 24 dodań i 10 usunięć

10
bld.cmd
Wyświetl plik

@ -4,9 +4,14 @@ rem build TiddlyWiki5 for five.tiddlywiki.com
rem Set up the build output directory
if "x%TW5_BUILD_OUTPUT%" == "x" (set TW5_BUILD_OUTPUT=..\jermolene.github.com)
if "x%TW5_BUILD_OUTPUT%" == "x" (
set TW5_BUILD_OUTPUT=..\jermolene.github.com
)
if not exist %TW5_BUILD_OUTPUT%\nul echo A valid TW5_BUILD_OUTPUT environment variable must be set
if not exist %TW5_BUILD_OUTPUT%\nul (
echo A valid TW5_BUILD_OUTPUT environment variable must be set
exit 1
)
echo Using TW5_BUILD_OUTPUT as %TW5_BUILD_OUTPUT%
echo.
@ -32,6 +37,7 @@ node .\tiddlywiki.js ^
--rendertiddler ReadMe .\readme.md text/html ^
--rendertiddler ContributingTemplate .\contributing.md text/html ^
--rendertiddler $:/core/save/all %TW5_BUILD_OUTPUT%\index.html text/plain ^
--rendertiddler $:/editions/tw5.com/save-empty %TW5_BUILD_OUTPUT%\empty2.html text/plain ^
--rendertiddler $:/core/templates/static.template.html %TW5_BUILD_OUTPUT%\static.html text/plain ^
--rendertiddler $:/core/templates/static.template.css %TW5_BUILD_OUTPUT%\static\static.css text/plain ^
--rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html %TW5_BUILD_OUTPUT%\static text/plain ^

Wyświetl plik

@ -1,4 +1,4 @@
@echo
@echo off
rem Publish to NPM
@ -6,7 +6,7 @@ npm publish || exit 1
rem Deploy latest build to github
pushd ..\mytiddlywiki.github.com
pushd ..\jermolene.github.com
git add --all || exit 1

Wyświetl plik

@ -1,4 +1,4 @@
@echo
@echo off
rem Split the tiddlers out of a TiddlyWiki file

Wyświetl plik

@ -4,9 +4,14 @@ rem test TiddlyWiki5 for five.tiddlywiki.com
rem Set up the build output directory
if "x%TW5_BUILD_OUTPUT%" == "x" (set TW5_BUILD_OUTPUT=%TMP%\mytiddlywiki.github.com)
if "x%TW5_BUILD_OUTPUT%" == "x" (
set TW5_BUILD_OUTPUT=..\jermolene.github.com
)
if not exist %TW5_BUILD_OUTPUT%\nul echo A valid TW5_BUILD_OUTPUT environment variable must be set
if not exist %TW5_BUILD_OUTPUT%\nul (
echo A valid TW5_BUILD_OUTPUT environment variable must be set
exit 1
)
echo Using TW5_BUILD_OUTPUT as %TW5_BUILD_OUTPUT%

Wyświetl plik

@ -1,8 +1,11 @@
@echo
@echo off
rem Bump to a new version number
if "x%1" == "x" echo "Missing version (eg '5.0.0-alpha.99')" && exit 1
if "x%1" == "x" (
echo Missing version (eg '5.0.0-alpha.99'^)
exit 1
)
rem Set the new version number (will also commit and tag the release)

Wyświetl plik

@ -1,4 +1,4 @@
@echo
@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