summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndor Penzes <andor.penzes@gmail.com>2016-01-18 14:25:10 +0100
committerAndor Penzes <andor.penzes@gmail.com>2016-01-18 14:25:10 +0100
commit3016de5d5d9477f43b340e30bd2f737de98243da (patch)
tree9734e9d55dc7f15444156a4f08a3d8693a70b62b
parent582c5766f295bd6b0098d4bfaa9c14ca6012794f (diff)
Add cabal check and sdist to travis build.
-rw-r--r--.travis.yml2
-rw-r--r--Setup.hs2
-rw-r--r--lambdacube-compiler.cabal8
3 files changed, 10 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index de34f4ea..4ba0f0b9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,4 +12,4 @@ before_install:
12 12
13script: 13script:
14 - docker run --rm -it -v `pwd`:/root/source/lambdacube-compiler lambdacube3d/lambdacube3d 14 - docker run --rm -it -v `pwd`:/root/source/lambdacube-compiler lambdacube3d/lambdacube3d
15 /bin/sh -c "cd /root/source/lambdacube-compiler;./run-test-suite.sh --coverage" 15 /bin/sh -c "cd /root/source/lambdacube-compiler;cabal check;./run-test-suite.sh --coverage;cabal sdist"
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
index 00000000..9a994af6
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,2 @@
1import Distribution.Simple
2main = defaultMain
diff --git a/lambdacube-compiler.cabal b/lambdacube-compiler.cabal
index f794a264..0ebe8a60 100644
--- a/lambdacube-compiler.cabal
+++ b/lambdacube-compiler.cabal
@@ -4,6 +4,9 @@
4name: lambdacube-compiler 4name: lambdacube-compiler
5version: 0.3.0.0 5version: 0.3.0.0
6homepage: lambdacube3d.com 6homepage: lambdacube3d.com
7synopsis: LambdaCube 3D is a DSL to program GPUs
8description: LambdaCube 3D is a domain specific language and library that makes it
9 possible to program GPUs in a purely functional style.
7license: BSD3 10license: BSD3
8license-file: LICENSE 11license-file: LICENSE
9author: Csaba Hruska, Péter Diviánszky, Dániel Pék, Andor Pénzes 12author: Csaba Hruska, Péter Diviánszky, Dániel Pék, Andor Pénzes
@@ -25,6 +28,10 @@ Flag coverage
25 Description: Enable coverage reporting 28 Description: Enable coverage reporting
26 Default: False 29 Default: False
27 30
31source-repository head
32 type: git
33 location: https://github.com/lambdacube3d/lambdacube-compiler
34
28library 35library
29 exposed-modules: 36 exposed-modules:
30 -- Compiler 37 -- Compiler
@@ -94,7 +101,6 @@ executable lambdacube-compiler-test-suite
94 hs-source-dirs: test 101 hs-source-dirs: test
95 main-is: runTests.hs 102 main-is: runTests.hs
96 default-language: Haskell2010 103 default-language: Haskell2010
97 GHC-Options: -O2
98 104
99 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository 105 -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository
100 build-depends: 106 build-depends: