mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-07 23:19:09 +08:00
Separate out command specific checks.
The checks use a better interface and give an overall speed boost of 10%.
This commit is contained in:
@@ -5,11 +5,13 @@ import System.Exit
|
||||
import qualified ShellCheck.Checker
|
||||
import qualified ShellCheck.Analytics
|
||||
import qualified ShellCheck.Parser
|
||||
import qualified ShellCheck.Checks.Commands
|
||||
|
||||
main = do
|
||||
putStrLn "Running ShellCheck tests..."
|
||||
results <- sequence [
|
||||
ShellCheck.Checker.runTests,
|
||||
ShellCheck.Checks.Commands.runTests,
|
||||
ShellCheck.Analytics.runTests,
|
||||
ShellCheck.Parser.runTests
|
||||
]
|
||||
|
Reference in New Issue
Block a user