Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 445 Bytes

File metadata and controls

16 lines (9 loc) · 445 Bytes

Snap-haskell-support

Run Haskell helloworld code on Snap-CI

For example, I have created a sample file "helloworld.hs" which has below code

main = putStrLn "hello, world"

Once you have Haskell code added, you can add the repo to Snap-CI and can follow below steps to install Haskell and run your helloworld file on Snap-CI:

sudo yum install epel-release

sudo yum install -y haskell-platform

ghc --make helloworld

./helloworld