diff --git a/ShellCheck.cabal b/ShellCheck.cabal index e4a8290..215e226 100644 --- a/ShellCheck.cabal +++ b/ShellCheck.cabal @@ -42,6 +42,7 @@ source-repository head location: git://github.com/koalaman/shellcheck.git library + hs-source-dirs: src build-depends: base >= 4 && < 5, containers >= 0.5, @@ -77,6 +78,7 @@ library executable shellcheck build-depends: base >= 4 && < 5, + ShellCheck, containers, directory, json >= 0.3.6, @@ -90,6 +92,7 @@ test-suite test-shellcheck type: exitcode-stdio-1.0 build-depends: base >= 4 && < 5, + ShellCheck, containers, directory, json, diff --git a/ShellCheck/AST.hs b/src/ShellCheck/AST.hs similarity index 100% rename from ShellCheck/AST.hs rename to src/ShellCheck/AST.hs diff --git a/ShellCheck/ASTLib.hs b/src/ShellCheck/ASTLib.hs similarity index 100% rename from ShellCheck/ASTLib.hs rename to src/ShellCheck/ASTLib.hs diff --git a/ShellCheck/Analytics.hs b/src/ShellCheck/Analytics.hs similarity index 100% rename from ShellCheck/Analytics.hs rename to src/ShellCheck/Analytics.hs diff --git a/ShellCheck/Analyzer.hs b/src/ShellCheck/Analyzer.hs similarity index 100% rename from ShellCheck/Analyzer.hs rename to src/ShellCheck/Analyzer.hs diff --git a/ShellCheck/AnalyzerLib.hs b/src/ShellCheck/AnalyzerLib.hs similarity index 100% rename from ShellCheck/AnalyzerLib.hs rename to src/ShellCheck/AnalyzerLib.hs diff --git a/ShellCheck/Checker.hs b/src/ShellCheck/Checker.hs similarity index 100% rename from ShellCheck/Checker.hs rename to src/ShellCheck/Checker.hs diff --git a/ShellCheck/Checks/Commands.hs b/src/ShellCheck/Checks/Commands.hs similarity index 100% rename from ShellCheck/Checks/Commands.hs rename to src/ShellCheck/Checks/Commands.hs diff --git a/ShellCheck/Checks/ShellSupport.hs b/src/ShellCheck/Checks/ShellSupport.hs similarity index 100% rename from ShellCheck/Checks/ShellSupport.hs rename to src/ShellCheck/Checks/ShellSupport.hs diff --git a/ShellCheck/Data.hs b/src/ShellCheck/Data.hs similarity index 100% rename from ShellCheck/Data.hs rename to src/ShellCheck/Data.hs diff --git a/ShellCheck/Formatter/CheckStyle.hs b/src/ShellCheck/Formatter/CheckStyle.hs similarity index 100% rename from ShellCheck/Formatter/CheckStyle.hs rename to src/ShellCheck/Formatter/CheckStyle.hs diff --git a/ShellCheck/Formatter/Format.hs b/src/ShellCheck/Formatter/Format.hs similarity index 100% rename from ShellCheck/Formatter/Format.hs rename to src/ShellCheck/Formatter/Format.hs diff --git a/ShellCheck/Formatter/GCC.hs b/src/ShellCheck/Formatter/GCC.hs similarity index 100% rename from ShellCheck/Formatter/GCC.hs rename to src/ShellCheck/Formatter/GCC.hs diff --git a/ShellCheck/Formatter/JSON.hs b/src/ShellCheck/Formatter/JSON.hs similarity index 100% rename from ShellCheck/Formatter/JSON.hs rename to src/ShellCheck/Formatter/JSON.hs diff --git a/ShellCheck/Formatter/TTY.hs b/src/ShellCheck/Formatter/TTY.hs similarity index 100% rename from ShellCheck/Formatter/TTY.hs rename to src/ShellCheck/Formatter/TTY.hs diff --git a/ShellCheck/Interface.hs b/src/ShellCheck/Interface.hs similarity index 100% rename from ShellCheck/Interface.hs rename to src/ShellCheck/Interface.hs diff --git a/ShellCheck/Parser.hs b/src/ShellCheck/Parser.hs similarity index 100% rename from ShellCheck/Parser.hs rename to src/ShellCheck/Parser.hs diff --git a/ShellCheck/Regex.hs b/src/ShellCheck/Regex.hs similarity index 100% rename from ShellCheck/Regex.hs rename to src/ShellCheck/Regex.hs