mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-31 07:12:49 -04:00
Git is now part of the project.
This commit is contained in:
parent
becd046472
commit
99e41b8bbb
5 changed files with 19 additions and 15 deletions
scripts/windows/coco-dev-setup/batch
|
@ -19,8 +19,8 @@ IF EXIST "%PROGRAMFILES(X86)%" (
|
|||
set "ZU-app=utilities\7za.exe"
|
||||
|
||||
:: DEBUG:
|
||||
+ DEBUG FLOW OF PROGRAM
|
||||
+ DEBUG & GET GIT AUTOMATIC WORKING
|
||||
:: + DEBUG FLOW OF PROGRAM
|
||||
:: + DEBUG & GET GIT AUTOMATIC WORKING
|
||||
|
||||
:: TODO:
|
||||
:: + Write code to install vs if it's not yet installed on users pc
|
||||
|
@ -236,8 +236,7 @@ goto END
|
|||
call:log_lw_ss 16
|
||||
call:log_lw_sse 17
|
||||
|
||||
call:set_system_path "%git_exe_path%\bin"
|
||||
call:set_system_path "%git_exe_path%\cmd"
|
||||
set "PATH=%PATH%;%git_exe_path%\bin;%git_exe_path%\cmd" /M
|
||||
|
||||
call:user_set_git_repository
|
||||
goto git_rep_checkout_auto
|
||||
|
@ -249,7 +248,7 @@ goto git_rep_checkout_auto
|
|||
goto:eof
|
||||
|
||||
:user_set_git_repository_sc
|
||||
if not exist "%git_repository_path%" (
|
||||
if exist "%git_repository_path%" (
|
||||
call:log_lw 33
|
||||
call:draw_dss
|
||||
call:user_set_git_repository
|
||||
|
@ -486,10 +485,6 @@ goto:eof
|
|||
setx -m %~1 %~2
|
||||
goto:eof
|
||||
|
||||
:set_system_path
|
||||
set PATH=%PATH%;%~1 /M
|
||||
goto:eof
|
||||
|
||||
:: ============================== EOF ====================================
|
||||
|
||||
:END
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
set PATH=%PATH%;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmd /M
|
||||
git
|
||||
pause
|
||||
@echo off
|
||||
setlocal EnableDelayedExpansion
|
||||
|
||||
set "git-path=C:\Program Files (x86)\Git"
|
||||
|
||||
set "PATH=%PATH%;%git-path%\bin;%git-path%\cmd" /M
|
||||
|
||||
git clone https://github.com/codecombat/codecombat.git C:\Coco\
|
||||
|
||||
pause
|
||||
|
||||
endlocal
|
|
@ -31,6 +31,6 @@ Type: git clone https://github.com/codecombat/codecombat.git aPath
|
|||
Note: replace aPath with the destination of your git repository
|
||||
Close the git application and go back to this CMD window
|
||||
Enter the full path where you cloned the repository to:
|
||||
The path you entered is invalid, please try again...
|
||||
The path you entered already exists, please try again...
|
||||
Good Job, we're almost there...
|
||||
Started the configuration of your git repository...
|
|
@ -31,6 +31,6 @@ Type: git clone https://github.com/codecombat/codecombat.git aPath
|
|||
Note: replace aPath with the destination of your git repository
|
||||
Close the git application and go back to this CMD window
|
||||
Enter the full path where you cloned the repository to:
|
||||
The path you entered is invalid, please try again...
|
||||
The path you entered already exists, please try again...
|
||||
Good Job, we're almost there...
|
||||
Started the configuration of your git repository...
|
|
@ -31,6 +31,6 @@ Type: git clone https://github.com/codecombat/codecombat.git aPath
|
|||
Note: replace aPath with the destination of your git repository
|
||||
Close the git application and go back to this CMD window
|
||||
Enter the full path where you cloned the repository to:
|
||||
The path you entered is invalid, please try again...
|
||||
The path you entered already exists, please try again...
|
||||
Good Job, we're almost there...
|
||||
Started the configuration of your git repository...
|
Loading…
Add table
Reference in a new issue