Skip to content

Commit

Permalink
Makefile action to run tests via nix
Browse files Browse the repository at this point in the history
  • Loading branch information
lierdakil committed Mar 5, 2024
1 parent 4efcf87 commit 0445baf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: build pin push
.PHONY: build pin push test

build:
nix build . .#static .#win .#pandoc $(NIX_EXTRA_OPTS)
Expand All @@ -12,6 +12,9 @@ push:
| jq -r '.[].outputs | to_entries[].value' \
| cachix push pandoc-crossref

test:
nix run .#test && nix run .#test-integrative

cabal.project.freeze:
cabal freeze --constraint pandoc==$$(yq '.env.PANDOC_VERSION' .github/workflows/haskell.yml)

Expand Down

0 comments on commit 0445baf

Please sign in to comment.