Skip to content

Commit

Permalink
Merge pull request JuliaLang#15 from exercism/smann/readme-config-info
Browse files Browse the repository at this point in the history
Additional info for adding exercises in README
  • Loading branch information
SaschaMann authored Jan 24, 2017
2 parents d1be1f0 + 155b649 commit e9a840a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Please see the [contributing guide](https://github.com/exercism/x-common/blob/ma

## Working on the Exercises

### Implementing an exercise

A pool of exercises can be found in the [x-Common repo](https://github.com/exercism/x-common).

Exercises for the Julia track go in the `exercises` directory and should follow the following filename conventions:
Expand All @@ -26,5 +28,19 @@ Replace `<slug>` with the exercise slug of the exercise you're working on.

See [Issue #2](https://github.com/exercism/xjulia/issues/2) for discussion on the structure.

### Adding it to config

Make sure to add the exercise to the `config.json` file, by adding an entry to the `exercises` array:
```json
"exercises": [
{
"slug": "hello-world" ,
"difficulty": 1,
"topics": ["strings"]
}
]
```
If possible, add info on which topics the exercise is about and estimate a difficulty level from 1 to 10. We can adjust these later on when we know more about the exercise and how users solve them.

### Testing the example solutions
Test your example solutions by running `julia runtests.jl` in the project directory. Specify exercise slugs as arguments to run only certain exercises: `julia runtests.jl <slug>`.

0 comments on commit e9a840a

Please sign in to comment.