~alcinnz/hurl

a00b30a632206b312279ff85b3f9f9ec080dfb72 — Adrian Cochrane 4 years ago 984867b
Start a commandline version of HURL, currently 'Hello World'.
2 files changed, 18 insertions(+), 0 deletions(-)

M hurl.cabal
A src/Main.hs
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!"