diff options
author | Paul Oliver <contact@pauloliver.dev> | 2025-07-02 15:06:35 +0200 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2025-08-13 23:54:10 +0000 |
commit | 8fe62292f18f4577303a868a8557b0486b218bcb (patch) | |
tree | cb9a9108eea479e932f37d03cf399b680e3886b2 /Makefile | |
parent | 0be7f1274e0cb8406bd4262b86d5e2e9dda77d7a (diff) |
Code now uses `effectful` to manage side-effects
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9dbf632 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +resolver = $(shell curl -s https://www.stackage.org/download/snapshots.json | yq .nightly) +packages = $(shell ls -dQm hsm-*) + +build: + stack build + +clean: + stack clean --full + +exec: + stack exec $(exec) + +update: + yq -iSY '.resolver=$(resolver) | .packages=[$(packages)]' stack.yaml |