From 948b75075478f3a3618c7df76c9d58c1b66fc2e0 Mon Sep 17 00:00:00 2001 From: Dridi Boukelmoune Date: Fri, 28 Feb 2014 19:55:04 +0100 Subject: [PATCH] Make the executable depend on the library It needed a bump to 1.8 for the minimum `Cabal-Version'. One downside is that the executable also build-depends on the same libraries. Alphabetical order is kept, except for the dependency to the ShellCheck library itself. --- ShellCheck.cabal | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ShellCheck.cabal b/ShellCheck.cabal index 4ceff51..b4465a6 100644 --- a/ShellCheck.cabal +++ b/ShellCheck.cabal @@ -9,7 +9,7 @@ Author: Vidar Holen Maintainer: vidar@vidarholen.net Homepage: http://www.shellcheck.net/ Build-Type: Simple -Cabal-Version: >= 1.6 +Cabal-Version: >= 1.8 Bug-reports: https://github.com/koalaman/shellcheck/issues Description: The goals of ShellCheck are: @@ -44,4 +44,13 @@ library ShellCheck.Simple executable shellcheck + build-depends: + ShellCheck, + base >= 4 && < 5, + containers, + directory, + json, + mtl, + parsec, + regex-compat main-is: shellcheck.hs