Skip to content

Commit

Permalink
Update for PureScript 0.15 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashoneyman authored Apr 29, 2022
1 parent 2756c0a commit b45a39b
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 38 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches: [master]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: purescript-contrib/setup-purescript@main
with:
purescript: "unstable"

- uses: actions/setup-node@v2
with:
node-version: "14"

- name: Install dependencies
run: |
npm install -g bower
npm install
bower install --production
- name: Build source
run: npm run-script build

- name: Run tests
run: |
bower install
npm run-script test --if-present
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

23 changes: 10 additions & 13 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
{
"name": "purescript-freeap",
"license": "MIT",
"ignore": [
"*",
"!src/**/*"
],
"ignore": ["*", "!src/**/*"],
"repository": {
"type": "git",
"url": "https://github.com/ethul/purescript-freeap.git"
},
"dependencies": {
"purescript-exists": "^5.0.0",
"purescript-const": "^5.0.0",
"purescript-lists": "^6.0.0",
"purescript-gen": "^3.0.0"
"purescript-exists": "^6.0.0",
"purescript-const": "^6.0.0",
"purescript-lists": "^7.0.0",
"purescript-gen": "^4.0.0"
},
"devDependencies": {
"purescript-either": "^5.0.0",
"purescript-integers": "^5.0.0",
"purescript-console": "^5.0.0",
"purescript-exceptions": "^5.0.0",
"purescript-quickcheck-laws": "^6.0.0"
"purescript-either": "^6.0.0",
"purescript-integers": "^6.0.0",
"purescript-console": "^6.0.0",
"purescript-exceptions": "^6.0.0",
"purescript-quickcheck-laws": "^7.0.0"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "pulp build -- --censor-lib --strict"
},
"devDependencies": {
"pulp": "^15.0.0",
"pulp": "^16.0.0-1",
"purescript-psa": "^0.8.2",
"rimraf": "^3.0.2"
}
Expand Down
4 changes: 2 additions & 2 deletions test/Test/Control/Applicative/Free.purs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import Test.QuickCheck.Gen (Gen)
import Test.QuickCheck.Laws (A, checkLaws)
import Test.QuickCheck.Laws.Control as Control
import Test.QuickCheck.Laws.Data as Data
import Type.Proxy (Proxy(..), Proxy2(..))
import Type.Proxy (Proxy(..))


data M r = A r | B r
Expand Down Expand Up @@ -92,4 +92,4 @@ check = checkLaws "FreeAp" do
Control.checkApplicative prx2Free
where
prxFree = ProxyProxy (ArbFreeAp A)
prx2Free = Proxy2Proxy2 ArbFreeAp
prx2Free = ProxyProxy ArbFreeAp

0 comments on commit b45a39b

Please sign in to comment.