mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 03:27:30 +08:00
Test Suite in Cabal (cabal test)
Please run using "cabal test --show-details=streaming", there's a known issue about this that was fixed in the latest version of cabal: https://github.com/haskell/cabal/issues/1810
This commit is contained in:
6
Makefile
6
Makefile
@@ -3,17 +3,13 @@
|
||||
GHCFLAGS=-O9
|
||||
GHCFLAGS_STATIC=$(GHCFLAGS) -optl-static -optl-pthread
|
||||
|
||||
all: shellcheck .tests shellcheck.1
|
||||
all: shellcheck shellcheck.1
|
||||
: Done
|
||||
|
||||
shellcheck: regardless
|
||||
: Conditionally compiling shellcheck
|
||||
ghc $(GHCFLAGS) --make shellcheck
|
||||
|
||||
.tests: *.hs */*.hs
|
||||
: Running unit tests
|
||||
./test/runQuack && touch .tests
|
||||
|
||||
shellcheck.1: shellcheck.1.md
|
||||
: Formatting man page
|
||||
pandoc -s -t man $< -o $@
|
||||
|
Reference in New Issue
Block a user