Advent-of-Code-Aggregator/README.md

48 lines
1.3 KiB
Markdown
Raw Normal View History

2020-12-01 17:00:29 +01:00
# De Zeus Advent of Code
2022-12-02 01:24:51 +01:00
| Wie? | Waar? (Repository) | Taal? |
| :------------- | :------------------------------------------------: | ---------: |
| chvp | https://github.com/chvp/aoc2022 | Haskell |
| hvdncamp | https://github.com/hvdncamp/adventofcode-2022 | C |
| mcbloch | https://gitlab.com/mcbloch/aoc2022 | Clojure (Babashka) |
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
2022-12-01 17:20:31 +01:00
git submodule init 2022 # 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
2022-12-01 17:20:31 +01:00
cd 2022
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
2022-12-01 17:20:31 +01:00
cd 2022
2021-11-29 11:42:45 +01:00
./complete-benchmark
2020-12-04 13:43:30 +01:00
```