Permalink
Browse files

Add Makefile and prepare cabal file for building JS

  • Loading branch information...
norm2782 committed Nov 11, 2011
1 parent 95b0a08 commit d07205e33f1e3777f8222f1977e544f74b3da026
Showing with 20 additions and 5 deletions.
  1. +12 −0 uhc-jscript/Makefile
  2. +8 −5 uhc-jscript/uhc-jscript.cabal
View
@@ -0,0 +1,12 @@
+default: package.conf.inplace
+
+dist/setup-config:
+ cabal configure --uhc
+
+package.conf.inplace: dist/setup-config
+ cabal build --uhc-option="-tjscript"
+
+clean:
+ cabal clean
+
+.PHONY: clean
@@ -46,16 +46,19 @@ Build-type: Simple
Cabal-version: >=1.2
+Executable test-jscript
+ Hs-Source-Dirs: src
+ Build-depends: base >= 3.0
+ Main-Is: Main.hs
Library
-- Modules exported by the library.
- -- Exposed-modules:
-
+ Exposed-modules: Language.UHC.JScript.Primitives
+ Hs-Source-Dirs: src
-- Packages needed in order to build this package.
- -- Build-depends:
-
+ Build-depends: base >= 3.0
+
-- Modules not exported by this package.
-- Other-modules:
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
-- Build-tools:
-

0 comments on commit d07205e

Please sign in to comment.