BlueGit

timfa frameworkv3

fixed build.bat not working without an output folder

timfa Tim Falken · pushed by timfa

Authored 2016-09-17 · 10 years ago

Hash
7a0f5a260c22f0114f468b34dd7849ebd531b7ee
Parent
5cc8ceb6
1 file changed +2 −1
build.bat +2 −1
@@ -1,6 +1,7 @@
1 @echo off
2 mkdir output
1 3 copy /b *.js output\framework.js
2 4
3 @echo off
4 5 For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
5 6 For /f "tokens=1-2 delims=/:" %%a in ("%TIME%") do (set mytime=%%a:%%b)
6 7 echo %mydate% %mytime% >> output\lastbuild.txt
@@ -1,6 +1,7 @@
1@echo off
2mkdir output
1copy /b *.js output\framework.js
3copy /b *.js output\framework.js
2
4
3@echo off
4For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
5For /f "tokens=2-4 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
5For /f "tokens=1-2 delims=/:" %%a in ("%TIME%") do (set mytime=%%a:%%b)
6For /f "tokens=1-2 delims=/:" %%a in ("%TIME%") do (set mytime=%%a:%%b)
6echo %mydate% %mytime% >> output\lastbuild.txt
7echo %mydate% %mytime% >> output\lastbuild.txt