summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hurl.cabal13
-rw-r--r--src/Main.hs5
2 files changed, 18 insertions, 0 deletions
diff --git a/hurl.cabal b/hurl.cabal
index 7688511..94917b2 100644
--- a/hurl.cabal
+++ b/hurl.cabal
@@ -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
diff --git a/src/Main.hs b/src/Main.hs
new file mode 100644
index 0000000..5105a9b
--- /dev/null
+++ b/src/Main.hs
@@ -0,0 +1,5 @@
+module Main where
+
+main :: IO ()
+main = do
+ putStrLn "Hello, world!"