Skip to content

Commit

Permalink
Merge pull request #9 from gompiler/testing-changes
Browse files Browse the repository at this point in the history
Makefile changes
  • Loading branch information
AllanWang authored May 25, 2019
2 parents 6a7c661 + 6ad7662 commit c3e6b78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ gen:

# Run hspec tests
.PHONY: test
test:
test: gen
@rm -f bali.tix
stack test --allow-different-user $(COMPILE_FLAGS)

Expand All @@ -46,4 +46,4 @@ ctest:
# Refactor code using hlint, hindent and stylish-haskell
.PHONY: refactor
refactor:
@find . -name "*.hs" -not -path "./out/*" -not -path "./.stack-work/*" -exec hlint --refactor --refactor-options="--inplace" {} \; -exec hindent {} \; -exec stylish-haskell -i {} \;
@find . -name "*.hs" -not -path "./out/*" -not -path "./.stack-work/*" -exec hlint --refactor --refactor-options="--inplace" {} \; -exec hindent {} \; -exec stylish-haskell -i {} \;

0 comments on commit c3e6b78

Please sign in to comment.