- Notifications
You must be signed in to change notification settings - Fork404
Exercism exercises in Elixir.
License
exercism/elixir
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The exercises currently target Elixir versions from 1.14 to 1.18 and Erlang/OTP versions from 25 to 27. Detailed installation instructions can be found athttps://elixir-lang.org/install.html. We recommend using theasdf version manager to manage multiple Elixir versions.
It is recommended to test BEFORE submitting a PR. It will test your submission, ensurethat the repository builds as a whole, and help guard against unintentional, unrelated changes.
To test all of the exercises against their example solution, you can runbin/test_exercises.sh
:
$ ./bin/test_exercises.shTesting: accumulate PassTesting: acronym Pass...Testing: zipper Pass--------------------------------------------------------------------------------93/93 tests passed.
This will take some time.
To only test some exercises, run:
$ ./bin/test_exercises.sh word-count zebra-puzzleTesting: word-count PassTesting: zebra-puzzle Pass--------------------------------------------------------------------------------2/2 tests passed.
To run dialyzer on all exercises, run./bin/dialyzer_check.sh
. It might take a really long time the first time you run it. It will also be run for you by Github Actions as part of the PR check.
To check formatting of all exercises and all documents, run./bin/check_formatting.sh
. It will also be run for you by Github Actions as part of the PR check.
configlet
is an Exercism-wide tool for working with tracks. You can download it by running:
$ ./bin/fetch-configlet
Run itslint
command to verify if all exercises have all the necessary files and if config files are correct:
$ ./bin/configlet lintThe`exercises.practice.slug` value is`transpose 🙂`, but it must be a lowercase and kebab-case string:/Users/angelika/Documents/exercism/elixir/config.jsonConfiglet detected at least one problem.For more information on resolving the problems, please see the documentation:https://github.com/exercism/docs/blob/main/building/configlet/lint.md
If you want to help maintain the Elixir track, take a look atHELLO.md. You will find there an introduction to all the possible ways you can help us.
If you want to contribute to this repository specifically, please seeCONTRIBUTING.md.