Skip to content

Commit b45a39b

Browse files
Update for PureScript 0.15 (#20)
1 parent 2756c0a commit b45a39b

File tree

5 files changed

+47
-38
lines changed

5 files changed

+47
-38
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- uses: purescript-contrib/setup-purescript@main
15+
with:
16+
purescript: "unstable"
17+
18+
- uses: actions/setup-node@v2
19+
with:
20+
node-version: "14"
21+
22+
- name: Install dependencies
23+
run: |
24+
npm install -g bower
25+
npm install
26+
bower install --production
27+
28+
- name: Build source
29+
run: npm run-script build
30+
31+
- name: Run tests
32+
run: |
33+
bower install
34+
npm run-script test --if-present

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

bower.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
{
22
"name": "purescript-freeap",
33
"license": "MIT",
4-
"ignore": [
5-
"*",
6-
"!src/**/*"
7-
],
4+
"ignore": ["*", "!src/**/*"],
85
"repository": {
96
"type": "git",
107
"url": "https://github.com/ethul/purescript-freeap.git"
118
},
129
"dependencies": {
13-
"purescript-exists": "^5.0.0",
14-
"purescript-const": "^5.0.0",
15-
"purescript-lists": "^6.0.0",
16-
"purescript-gen": "^3.0.0"
10+
"purescript-exists": "^6.0.0",
11+
"purescript-const": "^6.0.0",
12+
"purescript-lists": "^7.0.0",
13+
"purescript-gen": "^4.0.0"
1714
},
1815
"devDependencies": {
19-
"purescript-either": "^5.0.0",
20-
"purescript-integers": "^5.0.0",
21-
"purescript-console": "^5.0.0",
22-
"purescript-exceptions": "^5.0.0",
23-
"purescript-quickcheck-laws": "^6.0.0"
16+
"purescript-either": "^6.0.0",
17+
"purescript-integers": "^6.0.0",
18+
"purescript-console": "^6.0.0",
19+
"purescript-exceptions": "^6.0.0",
20+
"purescript-quickcheck-laws": "^7.0.0"
2421
}
2522
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": "pulp build -- --censor-lib --strict"
77
},
88
"devDependencies": {
9-
"pulp": "^15.0.0",
9+
"pulp": "^16.0.0-1",
1010
"purescript-psa": "^0.8.2",
1111
"rimraf": "^3.0.2"
1212
}

test/Test/Control/Applicative/Free.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import Test.QuickCheck.Gen (Gen)
1616
import Test.QuickCheck.Laws (A, checkLaws)
1717
import Test.QuickCheck.Laws.Control as Control
1818
import Test.QuickCheck.Laws.Data as Data
19-
import Type.Proxy (Proxy(..), Proxy2(..))
19+
import Type.Proxy (Proxy(..))
2020

2121

2222
data M r = A r | B r
@@ -92,4 +92,4 @@ check = checkLaws "FreeAp" do
9292
Control.checkApplicative prx2Free
9393
where
9494
prxFree = Proxy Proxy (ArbFreeAp A)
95-
prx2Free = Proxy2 Proxy2 ArbFreeAp
95+
prx2Free = Proxy Proxy ArbFreeAp

0 commit comments

Comments
 (0)