You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
321 B

GENERATED_FILES = spell.cabal default.nix
.PHONY: build
build: default.nix
nix build -f release.nix
.PHONY: generate ungenerate
generate: $(GENERATED_FILES)
ungenerate:
rm $(GENERATED_FILES)
spell.cabal: package.yaml
hpack
default.nix: package.yaml
cabal2nix . > $@
.PHONY: clean
clean:
cabal clean
rm result