new variable system implemented and refactored a lot of files already.

This commit is contained in:
Glen De Cauwsemaecker 2014-03-21 03:26:26 +01:00
parent 18cf143bfb
commit 4d09844de8
33 changed files with 152 additions and 172 deletions

View file

@ -1,3 +0,0 @@
1.0
GlenDC
CodeCombat.com © 2013-2014

View file

@ -0,0 +1,3 @@
version=1.0
author=GlenDC
copyright=CodeCombat.com © 2013-2014

View file

@ -1 +0,0 @@
https://msysgit.googlecode.com/files/Git-1.8.5.2-preview20131230.exe

View file

@ -0,0 +1,21 @@
[general]
[32]
nodejs=http://nodejs.org/dist/v0.10.25/node-v0.10.25-x86.msi
ruby=http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353.exe?direct
python=http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi
[64]
nodejs=http://nodejs.org/dist/v0.10.25/x64/node-v0.10.25-x64.msi
ruby=http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353-x64.exe?direct
python=http://www.python.org/ftp/python/2.7.6/python-2.7.6.amd64.msi
[general]
gitbash=https://msysgit.googlecode.com/files/Git-1.8.5.2-preview20131230.exe
[win7]
[32]
mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-i386-2.5.4.zip
[64]
mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.5.4.zip
[vista]
[64]
mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2.5.4.zip
[32]
mongodb=http://fastdl.mongodb.org/win32/mongodb-win32-i386-2.5.4.zip

View file

@ -1,3 +0,0 @@
http://nodejs.org/dist/v0.10.25/node-v0.10.25-x86.msi
http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353.exe?direct
http://www.python.org/ftp/python/2.7.6/python-2.7.6.msi

View file

@ -1,3 +0,0 @@
http://nodejs.org/dist/v0.10.25/x64/node-v0.10.25-x64.msi
http://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.0.0-p353-x64.exe?direct
http://www.python.org/ftp/python/2.7.6/python-2.7.6.amd64.msi

View file

@ -1 +0,0 @@
http://fastdl.mongodb.org/win32/mongodb-win32-i386-2.5.4.zip

View file

@ -1 +0,0 @@
http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.5.4.zip

View file

@ -1 +0,0 @@
http://fastdl.mongodb.org/win32/mongodb-win32-i386-2.5.4.zip

View file

@ -1 +0,0 @@
http://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2.5.4.zip

View file

@ -1,13 +0,0 @@
======================================================================
_____ _ _____ _ _
/ __ \ | | / __ \ | | | |
| / \/ ___ __| | ___ | / \/ ___ _ __ ___ | |__ __ _| |_
| | / _ \ / _` |/ _ \ | | / _ \| '_ ` _ \| '_ \ / _` | __|
| \__/\ (_) | (_| | __/ | \__/\ (_) | | | | | | |_) | (_| | |_
\____/\___/ \__,_|\___| \____/\___/|_| |_| |_|_.__/ \__,_|\__|
======================================================================
The installation of your CodeCombat Development Environment was succesfull!
You are now ready to start contributing and join our wonderfull community!
But where and how do you start your journey?

View file

@ -6,5 +6,4 @@
| \__/\ (_) | (_| | __/ | \__/\ (_) | | | | | | |_) | (_| | |_
\____/\___/ \__,_|\___| \____/\___/|_| |_| |_|_.__/ \__,_|\__|
======================================================================
Readme: Hello World!
======================================================================

View file

@ -0,0 +1,10 @@
The MIT License (MIT)
Copyright (c) 2014 CodeCombat Inc. and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN sCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.

View file

@ -0,0 +1,4 @@
@echo off
setlocal EnableDelayedExpansion
get_var config/config.coco %1
endlocal

View file

@ -0,0 +1,4 @@
@echo off
setlocal EnableDelayedExpansion
get_var config/downloads.coco %1
endlocal

View file

@ -0,0 +1,4 @@
@echo off
setlocal EnableDelayedExpansion
get_var localisation/%1.coco %2
endlocal

Binary file not shown.

View file

@ -1,11 +0,0 @@
The MIT License (MIT)
Copyright (c) 2014 CodeCombat Inc. and other contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN sCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.

View file

@ -1,43 +0,0 @@
English
Installation has begun, this can take a while... Please stay tuned...
Don't close any windows please, unless specified explicitly.
[DOWNLOADING AND INSTALLING 3RD PARTY SOFTWARE]
downloading:
installing:
CodeCombat is safely stored on a git repository.
Therefore you need a git command-line application (Git-bash).
Examples: git-bash, CygWin, ...
Do you already have git-bash?
Download and Installation cancelled...
Enter the path to where you installed Git-bash
Do you already have the latest version of node-js installed?
Do you already have the latest version of ruby installed?
Do you already have the latest version of mongo-db installed?
Sadly we can't support Windows XP... Please upgrade your OS!
Software has been installed...
Checking out the Git Repository...
Installation of the Developers Environment is complete!
Bye Bye!
Machine OS cannot be determined...
Report your OS to the developers @ CodeCombat.com...
Installation has been stopped...
... Cleaning up has been disabled... Terminating Script!
unpacking and moving:
Enter the path where you would like to install MongoDB:
Do you already have the latest version of python installed?
The path to your git application is incorrect, please try again...
You'll need to execute the following steps to continue the installation:
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 want to clone your repository to:
The path you entered already exists, please try again...
Good Job, we're almost there...
Started the configuration of your git repository...
You need a fork of the official CodeCombat...
Haven't you done that yet, really...?
Go over to https://github.com/codecombat/codecombat and do it now!
Now then... Please enter your github username:
Installing bower, brunch, nodemon and sendwithus...
Please enter the full path of the location you installed nodejs to:
The path you intered is invalid, please try again...

View file

@ -0,0 +1,41 @@
[global]
native=English
bye=Bye Bye!
[install]
begin=Installation has begun, this can take a while... Please stay tuned...
close=Don't close any windows please, unless specified explicitly.
[dai]
title=[DOWNLOADING AND INSTALLING 3RD PARTY SOFTWARE]
downloading=downloading:
installing=installing:
cancel=Download and Installation cancelled...
software=Software has been installed...
devenv=Installation of the Developers Environment is complete!
stop=Installation has been stopped...
unpacking=unpacking and moving:
bower=Installing bower, brunch, nodemon and sendwithus...
[git]
stored=CodeCombat is safely stored on a git repository.
clapp=Therefore you need a git command-line application (Git-bash).
examples=Examples: git-bash, CygWin, ...
question=Do you already have git-bash?
path=Enter the path to where you installed Git-bash
checkout=Checking out the Git Repository...
username=Please enter your github username:
[nodejs]
question=Do you already have the latest version of node-js installed?
path=Please enter the full path of the location you installed nodejs to:
[ruby]
question=Do you already have the latest version of ruby installed?
[mongodb]
question=Do you already have the latest version of mongo-db installed?
path=Enter the path where you would like to install MongoDB:
[python]
question=Do you already have the latest version of python installed?
[error]
xp=Sadly we can't support Windows XP... Please upgrade your OS!
os=Machine OS cannot be determined...
osreport=Report your OS to the developers @ CodeCombat.com...
nocleaning=... Cleaning up has been disabled... Terminating Script!
git_app_path=The path to your git application is incorrect, please try again...
invalid_path=The path you entered is invalid, please try again...

View file

@ -1,43 +0,0 @@
français
Installation has begun, this can take a while... Please stay tuned...
Don't close any windows please, unless specified explicitly.
[DOWNLOADING AND INSTALLING 3RD PARTY SOFTWARE]
downloading:
installing:
CodeCombat is safely stored on a git repository.
Therefore you need a git command-line application (Git-bash).
Examples: git-bash, CygWin, ...
Do you already have git-bash?
Download and Installation cancelled...
Enter the path to where you installed Git-bash
Do you already have the latest version of node-js installed?
Do you already have the latest version of ruby installed?
Do you already have the latest version of mongo-db installed?
Sadly we can't support Windows XP... Please upgrade your OS!
Software has been installed...
Checking out the Git Repository...
Installation of the Developers Environment is complete!
Bye Bye!
Machine OS cannot be determined...
Report your OS to the developers @ CodeCombat.com...
Installation has been stopped...
... Cleaning up has been disabled... Terminating Script!
unpacking and moving:
Enter the path where you would like to install MongoDB:
Do you already have the latest version of python installed?
The path to your git application is incorrect, please try again...
You'll need to execute the following steps to continue the installation:
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 want to clone your repository to:
The path you entered already exists, please try again...
Good Job, we're almost there...
Started the configuration of your git repository...
You need a fork of the official CodeCombat...
Haven't you done that yet, really...?
Go over to https://github.com/codecombat/codecombat and do it now!
Now then... Please enter your github username:
Installing bower, brunch, nodemon and sendwithus...
Please enter the full path of the location you installed nodejs to:
The path you intered is invalid, please try again...

View file

@ -1,43 +0,0 @@
Nederlands
Installation has begun, this can take a while... Please stay tuned...
Don't close any windows please, unless specified explicitly.
[DOWNLOADING AND INSTALLING 3RD PARTY SOFTWARE]
downloading:
installing:
CodeCombat is safely stored on a git repository.
Therefore you need a git command-line application (Git-bash).
Examples: git-bash, CygWin, ...
Do you already have git-bash?
Download and Installation cancelled...
Enter the path to where you installed Git-bash
Do you already have the latest version of node-js installed?
Do you already have the latest version of ruby installed?
Do you already have the latest version of mongo-db installed?
Sadly we can't support Windows XP... Please upgrade your OS!
Software has been installed...
Checking out the Git Repository...
Installation of the Developers Environment is complete!
Bye Bye!
Machine OS cannot be determined...
Report your OS to the developers @ CodeCombat.com...
Installation has been stopped...
... Cleaning up has been disabled... Terminating Script!
unpacking and moving:
Enter the path where you would like to install MongoDB:
Do you already have the latest version of python installed?
The path to your git application is incorrect, please try again...
You'll need to execute the following steps to continue the installation:
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 want to clone your repository to:
The path you entered already exists, please try again...
Good Job, we're almost there...
Started the configuration of your git repository...
You need a fork of the official CodeCombat...
Haven't you done that yet, really...?
Go over to https://github.com/codecombat/codecombat and do it now!
Now then... Please enter your github username:
Installing bower, brunch, nodemon and sendwithus...
Please enter the full path of the location you installed nodejs to:
The path you intered is invalid, please try again...

View file

@ -0,0 +1,41 @@
[global]
native=English
bye=Bye Bye!
[install]
begin=De installatie is begonnen, dit kan een tijdje duren. Geduld alsjeblieft...
close=Don't close any windows please, unless specified explicitly.
[dai]
title=[DOWNLOADING AND INSTALLING 3RD PARTY SOFTWARE]
downloading=downloading:
installing=installing:
cancel=Download and Installation cancelled...
software=Software has been installed...
devenv=Installation of the Developers Environment is complete!
stop=Installation has been stopped...
unpacking=unpacking and moving:
bower=Installing bower, brunch, nodemon and sendwithus...
[git]
stored=CodeCombat is safely stored on a git repository.
clapp=Therefore you need a git command-line application (Git-bash).
examples=Examples: git-bash, CygWin, ...
question=Do you already have git-bash?
path=Enter the path to where you installed Git-bash
checkout=Checking out the Git Repository...
username=Please enter your github username:
[nodejs]
question=Do you already have the latest version of node-js installed?
path=Please enter the full path of the location you installed nodejs to:
[ruby]
question=Do you already have the latest version of ruby installed?
[mongodb]
question=Do you already have the latest version of mongo-db installed?
path=Enter the path where you would like to install MongoDB:
[python]
question=Do you already have the latest version of python installed?
[error]
xp=Sadly we can't support Windows XP... Please upgrade your OS!
os=Machine OS cannot be determined...
osreport=Report your OS to the developers @ CodeCombat.com...
nocleaning=... Cleaning up has been disabled... Terminating Script!
git_app_path=The path to your git application is incorrect, please try again...
invalid_path=The path you entered is invalid, please try again...

View file

@ -0,0 +1,7 @@
@echo off
setlocal EnableDelayedExpansion
set "file=%1"
for /f "usebackq tokens=* delims=;" %%a in ("%file%") do (
echo.%%a
)
endlocal

View file

@ -0,0 +1,4 @@
@echo off
setlocal EnableDelayedExpansion
print_file config/header.coco
endlocal

View file

@ -0,0 +1,4 @@
@echo off
setlocal EnableDelayedExpansion
print_file config/info.coco
endlocal

View file

@ -0,0 +1,4 @@
@echo off
setlocal EnableDelayedExpansion
print_file config/license.coco
endlocal

View file

@ -0,0 +1,4 @@
@echo off
setlocal EnableDelayedExpansion
print_file config/tips.coco
endlocal