Skip to content

Commit f95c0c9

Browse files
committed
purescript port
1 parent 25dab7d commit f95c0c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+5413
-4894
lines changed

.gitignore

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
/dist
2-
/dist-newstyle
3-
/tests/dist
4-
5-
cabal.project.local
6-
.cabal-sandbox/
7-
cabal.sandbox.config
1+
/bower_components/
2+
/node_modules/
3+
/.pulp-cache/
4+
/output/
5+
/generated-docs/
6+
/.psc-package/
7+
/.psc*
8+
/.purs*
9+
/.psa*

.travis.yml

Lines changed: 17 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,19 @@
1-
env:
2-
- GHCVER=7.0.4
3-
- GHCVER=7.2.2
4-
- GHCVER=7.4.2
5-
- GHCVER=7.6.3
6-
- GHCVER=7.8.4
7-
- GHCVER=7.10.3
8-
- GHCVER=8.0.2
9-
- GHCVER=8.2.1
10-
- GHCVER=8.4.1
11-
- GHCVER=8.6.3
12-
- GHCVER=head
13-
14-
matrix:
15-
allow_failures:
16-
- env: GHCVER=head
17-
18-
before_install:
19-
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
20-
- travis_retry sudo apt-get update
21-
- travis_retry sudo apt-get install cabal-install-1.24 ghc-$GHCVER happy-1.19.5 alex-3.1.7
22-
- export PATH=/opt/alex/3.1.7/bin:/opt/happy/1.19.5/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/1.24/bin:$HOME/.cabal/bin:$PATH
23-
1+
language: node_js
2+
dist: trusty
3+
sudo: required
4+
node_js: stable
5+
services:
6+
- docker
247
install:
25-
- /bin/true
26-
8+
- npm install -g bower
9+
- npm install
2710
script:
28-
- cabal update
29-
- export VERSION=$(cabal info . | awk 'NR==1 { n=split($2,x,"-"); print x[n]; }')
30-
- cabal install --only-dependencies --enable-tests
31-
- |
32-
if [ $GHCVER = "head" ] || [ ${GHCVER%.*} = "8.6" ] || [ ${GHCVER%.*} = "8.4" ] || [ ${GHCVER%.*} = "8.2" ] || [ ${GHCVER%.*} = "8.0" ] || [ ${GHCVER%.*} = "7.10" ] || [ ${GHCVER%.*} = "7.8" ] || [ ${GHCVER%.*} = "7.6" ] || [ ${GHCVER%.*} = "7.4" ] ; then
33-
cabal test
34-
fi
11+
- bower install --production
12+
- npm run -s build
13+
- bower install
14+
- npm -s test
15+
after_success:
16+
- >-
17+
test $TRAVIS_TAG &&
18+
echo $GITHUB_TOKEN | pulp login &&
19+
echo y | pulp publish --no-push

0 commit comments

Comments
 (0)