Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tfausak committed Feb 5, 2014
0 parents commit dd853da
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/
4 changes: 4 additions & 0 deletions Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Main where

main :: IO ()
main = putStrLn "ham"
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ham

The simplest Haskell program as a Cabal package.

``` sh
cabal configure
cabal build
cabal install
ham
# => ham
```
6 changes: 6 additions & 0 deletions Setup.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module Setup where

import Distribution.Simple (defaultMain)

main :: IO ()
main = defaultMain
9 changes: 9 additions & 0 deletions ham.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
build-type: Simple
cabal-version: >= 1.18
name: ham
version: 0.0.0

executable ham
build-depends: base == 4.*
default-language: Haskell2010
main-is: Main.hs

0 comments on commit dd853da

Please sign in to comment.