diff options
author | Andor Penzes <andor.penzes@gmail.com> | 2016-01-18 14:25:10 +0100 |
---|---|---|
committer | Andor Penzes <andor.penzes@gmail.com> | 2016-01-18 14:25:10 +0100 |
commit | 3016de5d5d9477f43b340e30bd2f737de98243da (patch) | |
tree | 9734e9d55dc7f15444156a4f08a3d8693a70b62b | |
parent | 582c5766f295bd6b0098d4bfaa9c14ca6012794f (diff) |
Add cabal check and sdist to travis build.
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | Setup.hs | 2 | ||||
-rw-r--r-- | lambdacube-compiler.cabal | 8 |
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 | ||
13 | script: | 13 | script: |
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 @@ | |||
1 | import Distribution.Simple | ||
2 | main = 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 @@ | |||
4 | name: lambdacube-compiler | 4 | name: lambdacube-compiler |
5 | version: 0.3.0.0 | 5 | version: 0.3.0.0 |
6 | homepage: lambdacube3d.com | 6 | homepage: lambdacube3d.com |
7 | synopsis: LambdaCube 3D is a DSL to program GPUs | ||
8 | description: LambdaCube 3D is a domain specific language and library that makes it | ||
9 | possible to program GPUs in a purely functional style. | ||
7 | license: BSD3 | 10 | license: BSD3 |
8 | license-file: LICENSE | 11 | license-file: LICENSE |
9 | author: Csaba Hruska, Péter Diviánszky, Dániel Pék, Andor Pénzes | 12 | author: 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 | ||
31 | source-repository head | ||
32 | type: git | ||
33 | location: https://github.com/lambdacube3d/lambdacube-compiler | ||
34 | |||
28 | library | 35 | library |
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: |