From 39756b420e14243ac7cb79a9e53e6e9351240dea Mon Sep 17 00:00:00 2001 From: Dridi Boukelmoune Date: Sun, 1 Jun 2014 17:53:16 +0200 Subject: [PATCH 1/2] Add extra source files in the source tarball This way ShellCheck can be entirely built (including the test suite) from the Hackage tarball. The source tarball can be generated using: cabal sdist --- ShellCheck.cabal | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ShellCheck.cabal b/ShellCheck.cabal index 219849113..7bf9a729f 100644 --- a/ShellCheck.cabal +++ b/ShellCheck.cabal @@ -22,6 +22,16 @@ Description: * To point out subtle caveats, corner cases and pitfalls, that may cause an advanced user's otherwise working script to fail under future circumstances. +Extra-Source-Files: + -- documentation + README.md + shellcheck.1.md + -- tests + test/quackCheck.hs + test/runQuack + -- misc + Makefile + source-repository head type: git location: git://github.com/koalaman/shellcheck.git From d53087f056e4479b968140fa5c0c470c75b6c346 Mon Sep 17 00:00:00 2001 From: Dridi Boukelmoune Date: Sun, 1 Jun 2014 21:35:45 +0200 Subject: [PATCH 2/2] Updated Extra-Source-Files accordingly with #165 --- ShellCheck.cabal | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ShellCheck.cabal b/ShellCheck.cabal index 7bf9a729f..5517bed56 100644 --- a/ShellCheck.cabal +++ b/ShellCheck.cabal @@ -27,8 +27,7 @@ Extra-Source-Files: README.md shellcheck.1.md -- tests - test/quackCheck.hs - test/runQuack + test/shellcheck.hs -- misc Makefile