Skip to content

Commit

Permalink
Update make test trigger
Browse files Browse the repository at this point in the history
`test/agda2hs` was rebuilt upon changes in `src/*.hs` only, but these
are not all the source files. Extend this to all files.
  • Loading branch information
naucke committed May 13, 2024
1 parent 3376eb8 commit e3bb296
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.PHONY : install agda repl libHtml test testHtml golden docs
FILES = $(shell find src -type f)

install :
cabal install --overwrite-policy=always
Expand All @@ -13,7 +14,7 @@ libHtml :
cabal run agda2hs -- --html lib/Haskell/Prelude.agda
cp html/Haskell.Prelude.html html/index.html

test/agda2hs : src/*.hs
test/agda2hs : $(FILES)
cabal install agda2hs --overwrite-policy=always --installdir=test --install-method=copy

test : test/agda2hs
Expand Down

0 comments on commit e3bb296

Please sign in to comment.