Advent-of-Code-Aggregator/README.md

49 lines
1.1 KiB
Markdown
Raw Normal View History

2020-12-01 17:00:29 +01:00
# De Zeus Advent of Code
2023-11-30 21:41:08 +01:00
| Wie? | Waar? (Repository) | Taal? |
|:-----|:-------------------------------:|------:|
| chvp | https://github.com/chvp/aoc2023 | C |
2023-12-01 12:58:48 +01:00
| mcbloch | https://github.com/mcbloch/AoC2023 | V |
2023-12-01 13:13:19 +01:00
| timpy | https://github.com/timodw/aoc_2023 | Rust |
2023-12-01 13:12:45 +01:00
| robbe | https://github.com/Robbe7730/adventofcode2023 | Zig |
2021-12-01 15:39:11 +01:00
2020-12-04 13:41:21 +01:00
* repo clonen:
2020-12-04 13:59:56 +01:00
```sh
2021-12-01 16:01:04 +01:00
git clone git@github.com:ZeusWPI/Advent-of-Code-Aggregator.git
2023-11-30 21:41:08 +01:00
git submodule init 2023 # just the current year
2021-12-01 16:01:04 +01:00
git submodule update
2020-12-04 13:43:30 +01:00
```
2020-12-04 13:41:21 +01:00
2021-11-29 11:42:45 +01:00
* nieuwe persoon toevoegen:
2020-12-04 13:41:21 +01:00
2020-12-04 13:59:56 +01:00
```sh
2023-11-30 21:41:08 +01:00
cd 2023
2021-12-01 17:06:08 +01:00
git submodule add <link zoals in tabel> <naam zoals in tabel>
2020-12-04 13:41:21 +01:00
git commit -m 'hey guys ik heb een repo toegevoegd'
2020-12-04 13:43:30 +01:00
```
2020-12-04 13:41:21 +01:00
* uw lokale kopie updaten:
```sh
git pull # duh
git submodule update
```
* van alle submodules de nieuwste versie binnenhalen (zelfs als mensen *force push*en):
2020-12-04 13:41:21 +01:00
2020-12-04 13:59:56 +01:00
```sh
2020-12-04 13:43:30 +01:00
git submodule foreach git fetch origin
git submodule foreach git reset --hard origin/HEAD > /dev/null 2>&1
2020-12-04 13:41:21 +01:00
git add * # oh no
git commit -m 'update submodules'
2020-12-04 13:43:30 +01:00
```
2020-12-04 13:41:21 +01:00
* benchmarks uitvoeren:
2020-12-04 13:59:56 +01:00
```sh
2023-11-30 21:41:08 +01:00
cd 2023
2021-11-29 11:42:45 +01:00
./complete-benchmark
2020-12-04 13:43:30 +01:00
```