M hurl.cabal => hurl.cabal +13 -0
@@ 123,3 123,16 @@ library
CPP-options: -DWITH_APPSTREAM
build-depends: xml-conduit >=1.8 && < 1.9, zlib >= 0.6 && < 0.7, containers
other-modules: Network.URI.XDG.AppStream, Network.URI.XDG.AppStreamOutput
+
+executable hurl
+ -- .hs file containing the Main module
+ main-is: Main.hs
+
+ -- Other library packages from which modules are imported
+ build-depends: base >=4.9 && <=4.12, hurl
+
+ -- Directories containing source files.
+ hs-source-dirs: src
+
+ -- Base language which the package is written in.
+ default-language: Haskell2010
A src/Main.hs => src/Main.hs +5 -0
@@ 0,0 1,5 @@
+module Main where
+
+main :: IO ()
+main = do
+ putStrLn "Hello, world!"