From 4473ab434174a315f664cc718c4d9c5ea93ce2a0 Mon Sep 17 00:00:00 2001 From: Juan Pedro Villa Isaza <584947+jpvillaisaza@users.noreply.github.com> Date: Sun, 16 Feb 2020 17:34:23 -0500 Subject: [PATCH] Move executable to app (2) --- _config.yml | 2 +- licensor.cabal | 4 +++- package.yaml | 6 +++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index e432efd..3e5d3e5 100644 --- a/_config.yml +++ b/_config.yml @@ -1,9 +1,9 @@ exclude: + - app/ - CHANGELOG.md - Gemfile - Gemfile.lock - LICENSE.md - - Main.hs - licensor.cabal - package.yaml - src/ diff --git a/licensor.cabal b/licensor.cabal index a4e025f..8f05c5d 100644 --- a/licensor.cabal +++ b/licensor.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: f9f3cf444be81006218fdda188775e6515f7b3bb5352a2a6ed45106318dd54bf +-- hash: 28712dcff95a982ef86182ec93effb3c20abb4e12bb800d4c02803aee6bc0400 name: licensor version: 0.3.0 @@ -48,6 +48,8 @@ executable licensor main-is: Main.hs other-modules: Paths_licensor + hs-source-dirs: + app ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N build-depends: Cabal >=1.22 && <2.1 diff --git a/package.yaml b/package.yaml index 96ec830..c7d246a 100644 --- a/package.yaml +++ b/package.yaml @@ -36,10 +36,14 @@ library: - process executable: + source-dirs: + app main: Main.hs dependencies: - cmdargs >= 0.10 && < 0.11 - licensor ghc-options: - - -threaded -rtsopts -with-rtsopts=-N + - -threaded + - -rtsopts + - -with-rtsopts=-N