From 31907ca51d106e36521e3bf1fc271e367a7f436f Mon Sep 17 00:00:00 2001 From: Carlo Marcelo Arenas Belon Date: Sun, 1 Sep 2013 21:37:30 -0700 Subject: [PATCH 1/2] build: include all binaries for clean --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1ea1e6c..55a7844 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,6 @@ jsoncheck: regardless ./test/runQuack && touch .tests clean: - rm -f .tests shellcheck *.hi *.o ShellCheck/*.hi ShellCheck/*.o + rm -f .tests shellcheck jsoncheck *.hi *.o ShellCheck/*.hi ShellCheck/*.o regardless: - From c229d3929a4614e79bc611bf7acf58161c041bdb Mon Sep 17 00:00:00 2001 From: Carlo Marcelo Arenas Belon Date: Sun, 1 Sep 2013 21:46:32 -0700 Subject: [PATCH 2/2] build: update recommended Ubuntu package list last still supported version to use ghc6 was lucid, so it is better to refer instead to ghc 7 as used since precise --- README | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README b/README index 8814be2..459ba80 100644 --- a/README +++ b/README @@ -19,6 +19,8 @@ ShellCheck is written in Haskell, and requires GHC, Parsec3 and Text.Regex. To build the JSON interface and run the unit tests, it also requires QuickCheck2 and JSON. On Ubuntu and similar, these are called: + ghc libghc-parsec3-dev libghc-json-dev libghc-regex-compat-dev libghc-quickcheck2-dev +For older releases of Ubuntu and similar use instead: ghc6 libghc6-parsec3-dev libghc6-quickcheck2-dev libghc6-json-dev libghc-regex-compat-dev Executables can be built with cabal. Tests currently still rely on a Makefile.