mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Added github header and made a script root for it.
This commit is contained in:
parent
892907adf0
commit
f702f58bdf
7 changed files with 14 additions and 45 deletions
|
@ -2,4 +2,5 @@ version=1.0
|
|||
author=GlenDC
|
||||
copyright=CodeCombat.com © 2013-2014
|
||||
github_url=https://github.com/codecombat/codecombat.git
|
||||
github_ssh=git@github.com:codecombat/codecombat.git
|
||||
github_ssh=git@github.com:codecombat/codecombat.git
|
||||
database_backup=http://23.21.59.137/dump.tar.gz
|
7
scripts/windows/coco-dev-setup/batch/config/github_header.coco
Executable file
7
scripts/windows/coco-dev-setup/batch/config/github_header.coco
Executable file
|
@ -0,0 +1,7 @@
|
|||
_____ _____ _____ _ _ _ _______
|
||||
| __ \_ _|_ _| | | | | | | ___ \
|
||||
| | \/ | | | | | |_| | | | | |_/ /
|
||||
| | __ | | | | | _ | | | | ___ \
|
||||
| |_\ \_| |_ | | | | | | |_| | |_/ /
|
||||
\____/\___/ \_/ \_| |_/\___/\____/
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
======================================================================
|
||||
_____ _ _____ _ _
|
||||
/ __ \ | | / __ \ | | | |
|
||||
| / \/ ___ __| | ___ | / \/ ___ _ __ ___ | |__ __ _| |_
|
||||
| | / _ \ / _` |/ _ \ | | / _ \| '_ ` _ \| '_ \ / _` | __|
|
||||
| \__/\ (_) | (_| | __/ | \__/\ (_) | | | | | | |_) | (_| | |_
|
||||
\____/\___/ \__,_|\___| \____/\___/|_| |_| |_|_.__/ \__,_|\__|
|
||||
|
||||
======================================================================
|
2
scripts/windows/coco-dev-setup/batch/scripts/github_setup.bat
Executable file
2
scripts/windows/coco-dev-setup/batch/scripts/github_setup.bat
Executable file
|
@ -0,0 +1,2 @@
|
|||
call print_github_header
|
||||
call print_dashed_seperator
|
|
@ -1,35 +0,0 @@
|
|||
@echo off
|
||||
setlocal EnableDelayedExpansion
|
||||
set "temp_directory=c:\.coco\"
|
||||
set "curl_app=..\utilities\curl.exe"
|
||||
set "zu_app=..\utilities\7za.exe"
|
||||
|
||||
set "install_file=c:\.coco\mongodb.zip"
|
||||
set "package_path=%temp_directory%mongodb"
|
||||
|
||||
%zu_app% x %install_file% -o%package_path% -y
|
||||
|
||||
for /f "delims=" %%a in ('dir %package_path% /on /ad /b') do @set mongodb_original_directory=%%a
|
||||
|
||||
call print_dashed_seperator
|
||||
goto:get_mongodb_path
|
||||
|
||||
:get_mongodb_path
|
||||
set /p "mongodb_path=define path: "
|
||||
if exist "%mongodb_path%" (
|
||||
call ask_question "That path already exists, are you sure you want to overwrite it?"
|
||||
if "%result%"=="false" (
|
||||
call print_dashed_seperator
|
||||
goto:get_mongodb_path
|
||||
) else (
|
||||
rmdir /s /q %mongodb_path%
|
||||
)
|
||||
)
|
||||
md %mongodb_path%
|
||||
)
|
||||
|
||||
%systemroot%\System32\xcopy %mongodb_original_directory% %path% /r /h /s /e /y
|
||||
|
||||
pause
|
||||
|
||||
endlocal
|
1
scripts/windows/coco-dev-setup/batch/scripts/print_github_header.bat
Executable file
1
scripts/windows/coco-dev-setup/batch/scripts/print_github_header.bat
Executable file
|
@ -0,0 +1 @@
|
|||
call print_file ..\\config\\github_header.coco
|
|
@ -24,6 +24,8 @@ call get_language
|
|||
|
||||
call download_and_install_applications
|
||||
|
||||
call github_setup
|
||||
|
||||
call get_local_text end-succesfull
|
||||
call get_local_text end-thankyou
|
||||
echo %end_succesfull%
|
||||
|
|
Loading…
Reference in a new issue