blob: 68fc7ca2da19b119461ea93cecfa948b3687632d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
resolver = $(shell curl -s https://www.stackage.org/download/snapshots.json | yq .lts)
packages = $(shell ls -dQm hsm-*)
build:
stack build
clean:
stack clean --full
update:
yq -i '.resolver="$(resolver)" | .packages=[$(packages)]' stack.yaml
|