My personal solutions to code challenges on exercism.org.
Install and configure the Exercism CLI.
In the ./elixir folder, download a challenge, for instance:
$ cd elixir
$ exercism download --exercise=hello-world --track=elixirIn the root folder of a challenge, run the tests to drive the development:
$ cd hello-world
$ mix testSubmit the working solution to Exercism:
$ exercism submitIn the ./typescript folder, download a challenge, for instance:
$ cd typescript
$ exercism download --exercise=hello-world --track=typescriptIn the root folder of a challenge, install the dependencies:
$ cd hello-world
$ yarn install
# Install @babel/core if there is a warning
$ yarn add --dev @babel/core
# Install with npm to solve @types/jest errors
$ npm install
# Make sure yarn enables node-modules linker
$ yarn installThen run the tests to drive the development:
$ yarn testSubmit the working solution to Exercism:
$ exercism submitNote: if running/testing an existing challenge on a fresh copy of this repository, you will need to
overwrite it first using the --force flag in the corresponding exercism download command.