Browse files

Add cabal file

  • Loading branch information...
1 parent 95e7e1b commit 7e47ee21c526d5af08f1fe4918270155aa6f0741 @c9s committed Apr 20, 2012
Showing with 21 additions and 3 deletions.
  1. +2 −0 Setup.hs
  2. +11 −0 coffeephp.cabal
  3. +8 −3 src/Main.hs
View
2 Setup.hs
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
View
11 coffeephp.cabal
@@ -0,0 +1,11 @@
+Name: coffeephp
+Version: 0.1
+Description: The Coffeephp
+License: GPL
+Author: Yo-An Lin
+Build-Type: Simple
+Cabal-Version: >=1.2
+Executable coffeephp
+ Main-is: Main.hs
+ Build-Depends:
+ base >= 3 && < 5, parsec > 0
View
11 src/Main.hs
@@ -1,6 +1,11 @@
-module Main
- where import CoffeePHP
+module Main where
+import System (getArgs)
+
+-- import CoffeePHP
main :: IO ()
-main = CoffeeMain
+main = do
+ args <- getArgs
+ putStrLn "Test"
+-- main = coffeeMain

0 comments on commit 7e47ee2

Please sign in to comment.