Added second executable to cabal file
[advent-of-code-16.git] / adventofcode1618 / adventofcode1618.cabal
index fbb54d113f8b8c6bf456ece2bc9636449d54952a..c85d2dcb9f92be619df0927304af4edd5b8b1844 100644 (file)
@@ -2,7 +2,7 @@ name:                adventofcode1618
 version:             0.1.0.0
 synopsis:            Initial project template from stack
 description:         Please see README.md
-homepage:            https://github.com/neilnjae/adventofcode16#readme
+homepage:            https://git.njae.me.uk/?p=advent-of-code-16.git;a=blob_plain;f=README.html
 license:             BSD3
 license-file:        LICENSE
 author:              Neil Smith
@@ -27,6 +27,15 @@ executable advent18
                      , adventofcode16
   default-language:    Haskell2010
 
+executable advent18f
+  hs-source-dirs:      app
+  main-is:             advent18f.hs
+  ghc-options:         -O2 -threaded -rtsopts -with-rtsopts=-N
+  build-depends:       base
+                     , adventofcode1618
+                     , adventofcode16
+  default-language:    Haskell2010
+
 test-suite adventofcode1618-test
   type:                exitcode-stdio-1.0
   hs-source-dirs:      test
@@ -39,4 +48,4 @@ test-suite adventofcode1618-test
 
 source-repository head
   type:     git
-  location: https://github.com/neilnjae/adventofcode16
+  location: git@git.njae.me.uk:advent-of-code-16