Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoedsoupe/exlings
rustlings but for elixir this time
https://github.com/zoedsoupe/exlings
begginer-friendly elixir tutorial
Last synced: about 2 months ago
JSON representation
rustlings but for elixir this time
- Host: GitHub
- URL: https://github.com/zoedsoupe/exlings
- Owner: zoedsoupe
- License: apache-2.0
- Created: 2023-03-15T16:14:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-14T16:52:36.000Z (9 months ago)
- Last Synced: 2024-06-12T04:25:13.777Z (4 months ago)
- Topics: begginer-friendly, elixir, tutorial
- Language: Elixir
- Homepage:
- Size: 42 KB
- Stars: 41
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# exlings
[![build and test](https://github.com/zoedsoupe/exlings/actions/workflows/test.yml/badge.svg)](https://github.com/zoedsoupe/exlings/actions/workflows/test.yml)
> rustlings but for elixir this time
## Installing
> ⚠️ cross-platform binaries are not available yet
> I'm having some trouble with the "burrito" lib, check [this issue](https://github.com/burrito-elixir/burrito/issues/117)For now, you can clone this repo with:
```sh
git clone https://github.com/zoedsoupe/exlings# or with gh CLI
gh repo clone zoedsoupe/exlings
```### Dependencies
| name | version |
| ---- | ------ |
| elixir | `>= v0.14` |## Doing exercices
> 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:
```sh
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:
```sh
mix run -- run
```If you want to run a single exercise:
```sh
mix run -- run 001_hello_world
```In case you are stuck and need a hint:
```sh
mix run -- hint 001_hello_world
```To list all exercise while checking your progress:
```sh
mix run -- list
```To compile and run all the exercises:
```sh
mix run -- verify
```# Learning resources
- [Elixir official Getting Started](https://hexdocs.pm/elixir/introduction.html)
- [Elixir School](https://elixirschool.com/pt)
- [Elixir official Forum](https://elixirforum.com)## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md)
## Other 'lings
- [rustlings](https://github.com/rust-lang/rustlings)
- [ziglings](https://github.com/ratfactor/ziglings)
- [golings](https://github.com/mauricioabreu/golings)