Advent-of-Code-Aggregator/README.md

52 lines
1.4 KiB
Markdown
Raw Normal View History

2020-12-01 17:00:29 +01:00
# De Zeus Advent of Code
| Wie? | Waar? (Repository) | Taal? |
|:---------|:---------------------------------------------:|------:|
| chvp | https://github.com/chvp/aoc2023 | C |
| mcbloch | https://github.com/mcbloch/AoC2023 | V |
| timpy | https://github.com/timodw/aoc_2023 | Rust |
| robbe | https://github.com/Robbe7730/adventofcode2023 | Zig |
| francis. | https://github.com/FKD13/AoC2023 | bash |
| vincent | https://github.com/Topvennie/AoC2023 | Go |
| mraedis | https://github.com/Mraedis/AoC2023 | Ruby |
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
```