Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvasigh/advent-of-code-2021
🎄😊🎄
https://github.com/mvasigh/advent-of-code-2021
advent-of-code advent-of-code-2021 advent-of-code-2021-rust advent-of-code-2021-typescript
Last synced: 13 days ago
JSON representation
🎄😊🎄
- Host: GitHub
- URL: https://github.com/mvasigh/advent-of-code-2021
- Owner: mvasigh
- Created: 2021-12-01T12:24:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-25T16:48:25.000Z (about 3 years ago)
- Last Synced: 2024-12-18T04:55:36.924Z (16 days ago)
- Topics: advent-of-code, advent-of-code-2021, advent-of-code-2021-rust, advent-of-code-2021-typescript
- Language: TypeScript
- Homepage:
- Size: 131 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎄 AoC '21
My solutions for [Advent of Code 2021](https://adventofcode.com/2021) :)
## Running the tests
Some days will be in [Rust](https://rust-lang.org), some in [TypeScript](https://typescriptlang.org), and some in both.
To run everything:
```sh
sh ./test.sh
```To run tests for a specific day using the shell script, you can pass the day as an argument:
```sh
sh ./test.sh 7 # Runs Day 7 tests
```To run the Rust solutions, make sure you have Rust and Cargo installed and run:
```sh
cargo test part -- --nocapture --test-threads=1
```To run the TypeScript solutions, make sure you have [Deno](https://deno.land) installed and run:
```sh
deno test -A --filter="/Day \d+, Part \d+/"
```