aboutsummaryrefslogtreecommitdiffstats
path: root/AoC2023/makefile
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-12-16 17:34:59 +0100
committerOscar Najera <hi@oscarnajera.com>2023-12-16 17:37:19 +0100
commit8193fd33c3e84a02adb465a029ba271902deb43b (patch)
tree628db53132c621ef54388d91187ba90ee3b387f4 /AoC2023/makefile
parentf5a6dc8ec1d3cc6e04409401fde5aad696f33eba (diff)
downloadscratch-8193fd33c3e84a02adb465a029ba271902deb43b.tar.gz
scratch-8193fd33c3e84a02adb465a029ba271902deb43b.tar.bz2
scratch-8193fd33c3e84a02adb465a029ba271902deb43b.zip
day15 part 1
Diffstat (limited to 'AoC2023/makefile')
-rw-r--r--AoC2023/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/AoC2023/makefile b/AoC2023/makefile
index 318c409..d946484 100644
--- a/AoC2023/makefile
+++ b/AoC2023/makefile
@@ -5,14 +5,14 @@
# @version 0.1
clean:
- find . -name solver | xargs rm -vf
+ find . -name '*.fasl' | xargs rm -vf
emacs: ${PWD}/solver.el
cd ${PWD} && emacs -batch -l ert -l solver.el -f ert-run-tests-batch-and-exit
lisp: ${PWD}/solver.lisp
- cd ${PWD} && time sbcl --load ~/.sbclrc --load solver.lisp --eval '(fiveam:run-all-tests)' --non-interactive
+ cd ${PWD} && time sbcl --load ~/.sbclrc --load $< --eval '(time (fiveam:run-all-tests))' --non-interactive
rust: ${PWD}/solver.rs
cd ${PWD} && rustc solver.rs -o /tmp/solver && /tmp/solver