aoc

Advent of Code Solutions
git clone git://git.alexkarle.com.com/aoc
Log | Files | Refs | README | LICENSE

commit eb940bc2eb4dcba8b63838d9cb36ccc52f13c58f (patch)
parent 659cf726b146fcf8375c3629a4732bdd96182c4d
Author: Alex Karle <alex@alexkarle.com>
Date:   Fri,  3 Dec 2021 00:40:01 -0500

make: Don't error if solution doesn't exist

The `test` invocation returning false caused a failure!

Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -20,7 +20,7 @@ build: $(TARGETS) run: build @for d in $(DAY)/; do \ for sol in a.py a b.py b; do \ - [ -e $$d/$$sol ] && printf "%-7s %s\n" "$${d}$$sol:" `$$d/$$sol < $$d/input`; \ + [ -e $$d/$$sol ] && printf "%-7s %s\n" "$${d}$$sol:" `$$d/$$sol < $$d/input` || true; \ done; \ done