Added github header and made a script root for it.

This commit is contained in:
Glen De Cauwsemaecker 2014-03-26 03:15:52 +01:00
parent 892907adf0
commit f702f58bdf
7 changed files with 14 additions and 45 deletions

View file

@ -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

View file

@ -0,0 +1,7 @@
_____ _____ _____ _ _ _ _______
| __ \_ _|_ _| | | | | | | ___ \
| | \/ | | | | | |_| | | | | |_/ /
| | __ | | | | | _ | | | | ___ \
| |_\ \_| |_ | | | | | | |_| | |_/ /
\____/\___/ \_/ \_| |_/\___/\____/

View file

@ -1,9 +0,0 @@
======================================================================
_____ _ _____ _ _
/ __ \ | | / __ \ | | | |
| / \/ ___ __| | ___ | / \/ ___ _ __ ___ | |__ __ _| |_
| | / _ \ / _` |/ _ \ | | / _ \| '_ ` _ \| '_ \ / _` | __|
| \__/\ (_) | (_| | __/ | \__/\ (_) | | | | | | |_) | (_| | |_
\____/\___/ \__,_|\___| \____/\___/|_| |_| |_|_.__/ \__,_|\__|
======================================================================

View file

@ -0,0 +1,2 @@
call print_github_header
call print_dashed_seperator

View file

@ -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

View file

@ -0,0 +1 @@
call print_file ..\\config\\github_header.coco

View file

@ -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%