|
1 | | - |
2 | | -Running Instructions: |
3 | | -===================== |
4 | | -* Download and unarchive the contents of the most recent java-koans in development from: |
5 | | -https://github.com/matyb/java-koans/archives/master |
6 | | - |
7 | | -* Open a terminal and cd to the directory you unarchived: |
8 | | -```cd <the directory you just unarchived>``` |
9 | | -* Within it you'll find: |
10 | | - * *koans*: this directory contains the application and its lessons, it is all that is needed to advance through the koans themselves and **it can be distributed independently** |
11 | | - * *koans-lib*: the directory for source code for the engine that executes the koans |
12 | | - * *koans-tests*: the directory for tests to check the sanity of the application |
13 | | -* Change directory to the koans directory: ```cd koans``` |
14 | | - |
15 | | -* If you are using windows enter: ```run.bat``` or ```sh run.sh``` if you are using Mac or Linux. |
16 | | - |
17 | | -Developing a Koan: |
| 1 | + |
| 2 | +Running Instructions: |
| 3 | +===================== |
| 4 | +* Download and unarchive the contents of the most recent java-koans in development from: |
| 5 | +https://github.com/matyb/java-koans/archives/master |
| 6 | +* Open a terminal and cd to the directory you unarchived: |
| 7 | +```cd <the directory you just unarchived>``` |
| 8 | +* Within it you'll find: |
| 9 | + * *koans*: this directory contains the application and its lessons, it is all that is needed to advance through the koans themselves and **it can be distributed independently** |
| 10 | + * *koans-lib*: the directory for source code for the engine that executes the koans |
| 11 | + * *koans-tests*: the directory for tests to check the sanity of the application |
| 12 | +* Change directory to the koans directory: ```cd koans``` |
| 13 | +* If you are using windows enter: ```run.bat``` or ```sh run.sh``` if you are using Mac or Linux. |
| 14 | + |
| 15 | +Developing a Koan: |
18 | 16 | ================== |
19 | | -* Follow any of the existing koans as an example to create a new class with koan methods (indicated by the @Koan annotation, they're public and specify no arguments) |
20 | | - |
21 | | -* Define the order the koan suite (if it's new) will run in the koans/config/PathToEnlightenment.xml file |
22 | | - |
| 17 | +* Follow any of the existing koans as an example to create a new class with koan methods (indicated by the @Koan annotation, they're public and specify no arguments) |
| 18 | +* Define the order the koan suite (if it's new) will run in the koans/config/PathToEnlightenment.xml file |
23 | 19 | * Optionally you may use dynamic content in your lesson, examples are located in the XmlVariableInjector class (and Test) and the AboutKoans.java file |
0 commit comments