Move executable to app (2)

This commit is contained in:
Juan Pedro Villa Isaza 2020-02-16 17:34:23 -05:00
parent 9a17f87eee
commit 4473ab4341
3 changed files with 9 additions and 3 deletions

View File

@ -1,9 +1,9 @@
exclude: exclude:
- app/
- CHANGELOG.md - CHANGELOG.md
- Gemfile - Gemfile
- Gemfile.lock - Gemfile.lock
- LICENSE.md - LICENSE.md
- Main.hs
- licensor.cabal - licensor.cabal
- package.yaml - package.yaml
- src/ - src/

View File

@ -4,7 +4,7 @@ cabal-version: 1.12
-- --
-- see: https://github.com/sol/hpack -- see: https://github.com/sol/hpack
-- --
-- hash: f9f3cf444be81006218fdda188775e6515f7b3bb5352a2a6ed45106318dd54bf -- hash: 28712dcff95a982ef86182ec93effb3c20abb4e12bb800d4c02803aee6bc0400
name: licensor name: licensor
version: 0.3.0 version: 0.3.0
@ -48,6 +48,8 @@ executable licensor
main-is: Main.hs main-is: Main.hs
other-modules: other-modules:
Paths_licensor Paths_licensor
hs-source-dirs:
app
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends: build-depends:
Cabal >=1.22 && <2.1 Cabal >=1.22 && <2.1

View File

@ -36,10 +36,14 @@ library:
- process - process
executable: executable:
source-dirs:
app
main: main:
Main.hs Main.hs
dependencies: dependencies:
- cmdargs >= 0.10 && < 0.11 - cmdargs >= 0.10 && < 0.11
- licensor - licensor
ghc-options: ghc-options:
- -threaded -rtsopts -with-rtsopts=-N - -threaded
- -rtsopts
- -with-rtsopts=-N