rustlings but for elixir this time
⚠️ cross-platform binaries are not available yet I'm having some trouble with the "burrito" lib, check this issue
For now, you can clone this repo with:
git clone https://github.com/zoedsoupe/exlings
# or with gh CLI
gh repo clone zoedsoupe/exlings
name | version |
---|---|
elixir | >= v0.14 |
Currently you can execute these commands into the root dir where you cloned the repo
The exercises are all placed on the ./priv/exercises/*
directory! You can edit them as you want!
To run the exercises in the recommended order while taking advantage of fast feedback loop, use the watch command:
mix run -- watch
This command will run exlings
in interactive mode. Every time you save a file it will verify if the code is correct.
To run the next pending exercise:
mix run -- run
If you want to run a single exercise:
mix run -- run 001_hello_world
In case you are stuck and need a hint:
mix run -- hint 001_hello_world
To list all exercise while checking your progress:
mix run -- list
To compile and run all the exercises:
mix run -- verify
See CONTRIBUTING.md