forked from koalaman/shellcheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Please run using "cabal test --show-details=streaming", there's a known issue about this that was fixed in the latest version of cabal: haskell/cabal#1810
- Loading branch information
1 parent
3fcc6c4
commit 0a9ed91
Showing
8 changed files
with
141 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module Main where | ||
|
||
import Control.Monad | ||
import System.Exit | ||
import qualified ShellCheck.Simple | ||
import qualified ShellCheck.Analytics | ||
import qualified ShellCheck.Parser | ||
|
||
main = do | ||
putStrLn "Running ShellCheck tests..." | ||
results <- sequence [ShellCheck.Simple.runTests, | ||
ShellCheck.Analytics.runTests, | ||
ShellCheck.Parser.runTests] | ||
if and results then exitSuccess | ||
else exitFailure | ||
|