Commits

Sebastián Magrí committed 1af2b3f

It seems to be needed to define both library and executable in the cabal description file

  • Participants
  • Parent commits 4a93fca

Comments (0)

Files changed (1)

 name:           hscd
-version:        0.0.2
+version:        0.0.2.1
 category:       Network
 license:        BSD3
 license-file:   LICENSE
     type:     mercurial
     location: https://bitbucket.org/sebasmagri/hscd
 
-executable hscd
+library
     build-depends: aeson        == 0.6.*
                  , base         == 4.*
                  , bytestring
                  , ghc-prim
                  , HTTP
-    main-is: hscd.hs
     other-modules:
         Network.SoundCloud
         Network.SoundCloud.App
         Network.SoundCloud.User
         Network.SoundCloud.Util
     hs-source-dirs: src/
-    ghc-options: -W -Wall
+
+executable hscd
+    build-depends: aeson        == 0.6.*
+                 , base         == 4.*
+                 , bytestring
+                 , ghc-prim
+                 , HTTP
+    main-is: hscd.hs
+    hs-source-dirs: src/