blob: 9dbf63228fe38ca15fe15abdbbcc00e7be9391fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
|