|
1 | 1 | Running Instructions: |
2 | 2 | ===================== |
3 | | -1. Download and unarchive the contents of the most recent java-koans in development from: |
| 3 | +* Download and unarchive the contents of the most recent java-koans in development from: |
4 | 4 | ```https://github.com/matyb/java-koans/archives/master``` |
5 | 5 |
|
6 | | -2. Open a terminal and cd to the directory you unarchived: |
| 6 | +* Open a terminal and cd to the directory you unarchived: |
7 | 7 | ```cd <the directory you just unarchived>``` |
8 | 8 |
|
9 | | -3. Within it you'll find: |
| 9 | +* Within it you'll find: |
10 | 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 | 11 | * *koans-lib*: the directory for source code for the engine that executes the koans |
12 | 12 | * *koans-tests*: the directory for tests to check the sanity of the application |
13 | 13 |
|
14 | | -4. Change directory to the koans directory: ```cd koans``` |
| 14 | +* Change directory to the koans directory: ```cd koans``` |
15 | 15 |
|
16 | | -5. If you are using windows enter: ```run.bat``` or ```sh run.sh``` if you are using Mac or Linux. |
| 16 | +* If you are using windows enter: ```run.bat``` or ```sh run.sh``` if you are using Mac or Linux. |
17 | 17 |
|
18 | 18 | Developing a Koan: |
19 | 19 | ================== |
20 | | -1. 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) |
21 | | -2. Define the order the koan suite (if it's new) will run in the koans/config/PathToEnlightenment.xml file |
22 | | -3. Optionally you may use dynamic content in your lesson, examples are located in the XmlVariableInjector class (and Test) and the AboutKoans.java file |
| 20 | +* 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) |
| 21 | +* Define the order the koan suite (if it's new) will run in the koans/config/PathToEnlightenment.xml file |
| 22 | +* 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