Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add Makefile and prepare cabal file for building JS

  • Loading branch information...
commit d07205e33f1e3777f8222f1977e544f74b3da026 1 parent 95b0a08
@norm2782 norm2782 authored
Showing with 20 additions and 5 deletions.
  1. +12 −0 uhc-jscript/Makefile
  2. +8 −5 uhc-jscript/uhc-jscript.cabal
View
12 uhc-jscript/Makefile
@@ -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
View
13 uhc-jscript/uhc-jscript.cabal
@@ -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:
-
Please sign in to comment.
Something went wrong with that request. Please try again.