Skip to content

Commit 409e351

Browse files
authored
Single (#31)
* single * single --------- Co-authored-by: rene-d <[email protected]>
1 parent b28c759 commit 409e351

File tree

1,081 files changed

+758
-4185
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,081 files changed

+758
-4185
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
for manifest in `find . -maxdepth 3 ! -path '*/day*' -name Cargo.toml`
3232
do
3333
echo check clippy for $manifest
34-
cargo clippy --manifest-path $manifest -- --no-deps -D clippy::all -A clippy::pedantic -A clippy::nursery
34+
cargo clippy --manifest-path $manifest -- --no-deps -D clippy::all -D clippy::pedantic -F clippy::nursery
3535
done
3636
3737
# Check non-regression tests

.justfile

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,23 @@ set shell := ["bash", "-uc"]
22

33
alias r := run
44

5-
# export RUSTFLAGS := "-C target-cpu=native"
6-
75
run:
86
./scripts/runall.py --working-dir {{invocation_directory()}} -lrust --verified
97

8+
# make
9+
1010
clean:
1111
git clean -fd
1212

1313
make-debug:
14-
cargo build --manifest-path aoc/Cargo.toml --quiet
15-
@for year in 20* ; do echo "cargo build $year" ; cargo build --manifest-path $year/Cargo.toml --quiet ; done
14+
@for path in crates/*/Cargo.toml ; do cargo build --manifest-path $path --quiet ; done
15+
cargo build --manifest-path ./Cargo.toml --quiet
1616

1717
make:
18-
cargo build --manifest-path aoc/Cargo.toml --release --quiet
19-
@for year in 20* ; do echo "cargo build $year" ; cargo build --manifest-path $year/Cargo.toml --release --quiet ; done
18+
@for path in crates/*/Cargo.toml ; do cargo build --manifest-path $path --quiet --release ; done
19+
cargo build --manifest-path ./Cargo.toml --quiet --release
20+
21+
# exec
2022

2123
timings *ARGS:
2224
./scripts/timings.py {{ ARGS }}
@@ -27,6 +29,8 @@ run-all *ARGS:
2729
tmux kill-window -t aoc:0
2830
tmux list-windows -t aoc
2931

32+
# GitHub
33+
3034
gh-fmt:
3135
#!/usr/bin/env bash
3236
for manifest in `find . -maxdepth 3 ! -path '*/day*' -name Cargo.toml`
@@ -40,7 +44,7 @@ gh-clippy:
4044
for manifest in `find . -maxdepth 3 ! -path '*/day*' -name Cargo.toml`
4145
do
4246
echo check clippy for $manifest
43-
cargo clippy --manifest-path $manifest -- --no-deps -D clippy::all -A clippy::pedantic -A clippy::nursery
47+
cargo clippy --manifest-path $manifest -- --no-deps -D clippy::all -D clippy::pedantic -F clippy::nursery
4448
done
4549

4650
gh-test:
@@ -53,6 +57,7 @@ gh-test:
5357

5458
gh: gh-fmt gh-clippy gh-test
5559

60+
# Docker stuff
5661

5762
debian:
5863
docker build -f scripts/Dockerfile -t aoc scripts/

2015/Cargo.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

2015/README.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

2015/day1/Cargo.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

2015/day10/Cargo.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

2015/day11/Cargo.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

2015/day12/Cargo.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

2015/day13/Cargo.toml

Lines changed: 0 additions & 14 deletions
This file was deleted.

2015/day14/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

2015/day15/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

2015/day16/Cargo.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

2015/day17/Cargo.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

2015/day18/Cargo.toml

Lines changed: 0 additions & 16 deletions
This file was deleted.

2015/day19/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

2015/day2/Cargo.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

2015/day20/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

2015/day21/Cargo.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

2015/day22/Cargo.toml

Lines changed: 0 additions & 13 deletions
This file was deleted.

2015/day23/Cargo.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

2015/day24/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

2015/day25/Cargo.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

2015/day3/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

2015/day4/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

2015/day5/Cargo.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

2015/day6/Cargo.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)