https://github.com/kplattret/exercism
🤓 Code challenges I've solved.
https://github.com/kplattret/exercism
code-challenges elixir learning rust typescript
Last synced: 9 months ago
JSON representation
🤓 Code challenges I've solved.
- Host: GitHub
- URL: https://github.com/kplattret/exercism
- Owner: kplattret
- Created: 2020-03-23T16:21:02.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-07-28T19:09:24.000Z (over 2 years ago)
- Last Synced: 2025-02-12T11:29:54.717Z (11 months ago)
- Topics: code-challenges, elixir, learning, rust, typescript
- Language: Elixir
- Homepage: https://exercism.org/profiles/kplattret
- Size: 85 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Exercism
My personal solutions to code challenges on [exercism.org](https://exercism.org/profiles/kplattret).
## First steps
Install and configure the [Exercism CLI](https://exercism.org/docs/using/solving-exercises/working-locally).
## Elixir
In the `./elixir` folder, download a challenge, for instance:
```sh
$ cd elixir
$ exercism download --exercise=hello-world --track=elixir
```
In the root folder of a challenge, run the tests to drive the development:
```sh
$ cd hello-world
$ mix test
```
Submit the working solution to Exercism:
```sh
$ exercism submit
```
## TypeScript
In the `./typescript` folder, download a challenge, for instance:
```sh
$ cd typescript
$ exercism download --exercise=hello-world --track=typescript
```
In the root folder of a challenge, install the dependencies:
```sh
$ 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 install
```
Then run the tests to drive the development:
```sh
$ yarn test
```
Submit the working solution to Exercism:
```sh
$ exercism submit
```
_Note: 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._