Added GIT to make.bat
This commit is contained in:
parent
633f91cac6
commit
66504466e9
|
@ -1 +1,2 @@
|
||||||
# LaptopSimulator2015
|
# LaptopSimulator2015
|
||||||
|
If you don't have LaptopSimulator2015/Resources/fans.wav , you can replace it with any sound that reminds you of old PCs fans.
|
25
make.bat
25
make.bat
|
@ -9,10 +9,16 @@ if %arg%==full goto full
|
||||||
if %arg%==clean goto clean
|
if %arg%==clean goto clean
|
||||||
if %arg%==debug goto debug
|
if %arg%==debug goto debug
|
||||||
if %arg%==release goto release
|
if %arg%==release goto release
|
||||||
|
if %arg%==pull goto pull
|
||||||
|
if %arg%==push goto push
|
||||||
|
if %arg%==help goto help
|
||||||
echo Invalid.
|
echo Invalid.
|
||||||
:noinput
|
:noinput
|
||||||
set /p arg="arg: "
|
set /p arg="arg: "
|
||||||
goto select
|
goto select
|
||||||
|
:help
|
||||||
|
echo [full,clean,debug,release,pull,push,help]
|
||||||
|
goto noinput
|
||||||
:full
|
:full
|
||||||
set full=1
|
set full=1
|
||||||
echo Please wait a bit.
|
echo Please wait a bit.
|
||||||
|
@ -33,6 +39,10 @@ if %full%==1 (
|
||||||
set full=2
|
set full=2
|
||||||
goto debug
|
goto debug
|
||||||
)
|
)
|
||||||
|
if %full%==10 (
|
||||||
|
set full=11
|
||||||
|
goto push
|
||||||
|
)
|
||||||
goto exit
|
goto exit
|
||||||
:debug
|
:debug
|
||||||
echo Building Debug
|
echo Building Debug
|
||||||
|
@ -51,6 +61,21 @@ if %full%==3 (
|
||||||
goto clean
|
goto clean
|
||||||
)
|
)
|
||||||
goto exit
|
goto exit
|
||||||
|
:pull
|
||||||
|
git pull
|
||||||
|
goto exit
|
||||||
|
:push
|
||||||
|
if %full%==0 (
|
||||||
|
set full=10
|
||||||
|
goto clean
|
||||||
|
)
|
||||||
|
set /p inp1="Message: "
|
||||||
|
if %full%==11 (
|
||||||
|
git add .
|
||||||
|
echo %inp1%
|
||||||
|
git commit -m "%inp1%"
|
||||||
|
git push -u origin master
|
||||||
|
)
|
||||||
:exit
|
:exit
|
||||||
echo Done
|
echo Done
|
||||||
timeout /t 2 /nobreak >nul
|
timeout /t 2 /nobreak >nul
|
Reference in New Issue