- Fork this repository
- Clone your fork:
git clone https://github.com/<your github username>/codetest-1.git
- Using Windows Explorer, browse to
codetest-1\test
, and double click ontest.cmd
- Open and edit the code.* files in the main directory. Use any code editor you are comfortable with.
- Test will re-execute on any code change.
- Press Ctrl-C to exit test monitor.
- Push to your fork
git checkout -b "<your-name-with-dashes>" git commit -am"my test answers" git push --set-upstream origin <your-name-with-dashes>
- Submit a pull request
-
Install dependencies
- Mac:
- Install git
- Run
git
from Terminal command line, and if it's not installed, you should be prompted to install Xcode command line tools
- Run
- Install Java (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
- Install Mono (http://www.mono-project.com/download/)
- Install brew (http://brew.sh)
- In Terminal, run
brew install scala node
- Install git
- Ubuntu:
- Install git (
sudo apt-get install git
) - Install PHP (`sudo apt-get install php
- Install mono/fsharp (
sudo apt-get install mono-devel fsharp
) - Install node
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
- Install java 8 and scala 2.11.7 (see https://gist.github.com/bigsnarfdude/b2eb1cabfdaf7e62a8fc)
- Install git (
- Mac:
-
Fork this repository
-
Clone your fork:
git clone https://github.com/<your github username>/codetest-1.git
-
Run the test script
cd codetest-1/test
sh test.sh
-
Open and edit the [Cc]ode.* files in the main directory. Use any code editor you are comfortable with.
-
Test will re-execute on any code change.
-
Press Ctrl-C to exit test monitor.
-
Push to your fork
git checkout -b "<your-name-with-dashes>" git commit -am"my test answers" git push --set-upstream origin <your-name-with-dashes>
-
Submit a pull request