Skip to content

Commit 22376b0

Browse files
authored
Updates for 0.11, remove deprecated generics dependency (#16)
* Updates for 0.11, remove deprecated generics dependency * Remove test calls * stable
1 parent 6a84b45 commit 22376b0

File tree

4 files changed

+8
-15
lines changed

4 files changed

+8
-15
lines changed

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
language: node_js
22
dist: trusty
33
sudo: required
4-
node_js: 6
5-
env:
6-
- PATH=$HOME/purescript:$PATH
4+
node_js: stable
75
install:
8-
- TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
9-
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10-
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11-
- chmod a+x $HOME/purescript
126
- npm install -g bower
137
- npm install
14-
- bower install
8+
- bower install --production
159
script:
1610
- npm run -s build
1711
after_success:

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
"package.json"
1818
],
1919
"dependencies": {
20-
"purescript-generics": "^3.0.0"
20+
"purescript-tuples": "^4.0.0"
2121
}
2222
}

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
"private": true,
33
"scripts": {
44
"clean": "rimraf output && rimraf .pulp-cache",
5-
"build": "pulp build --censor-lib --strict"
5+
"build": "pulp build -- --censor-lib --strict"
66
},
77
"devDependencies": {
8-
"pulp": "^9.0.0",
9-
"purescript-psa": "^0.3.9",
10-
"rimraf": "^2.5.0"
8+
"pulp": "^11.0.0",
9+
"purescript-psa": "^0.5.0",
10+
"purescript": "^0.11.1",
11+
"rimraf": "^2.5.4"
1112
}
1213
}

src/Data/These.purs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import Control.Extend (class Extend)
77
import Data.Bifunctor (class Bifunctor)
88
import Data.Bitraversable (class Bitraversable, class Bifoldable, bitraverse)
99
import Data.Functor.Invariant (class Invariant, imapF)
10-
import Data.Generic (class Generic)
1110
import Data.Maybe (Maybe(..))
1211
import Data.Traversable (class Traversable, class Foldable, foldMap, foldl, foldr)
1312
import Data.Tuple (Tuple(..))
@@ -19,7 +18,6 @@ data These a b
1918

2019
derive instance eqThese :: (Eq a, Eq b) => Eq (These a b)
2120
derive instance ordThese :: (Ord a, Ord b) => Ord (These a b)
22-
derive instance genericThese :: (Generic a, Generic b) => Generic (These a b)
2321

2422
instance semigroupThese :: (Semigroup a, Semigroup b) => Semigroup (These a b) where
2523
append (This a) (This b) = This (a <> b)

0 commit comments

Comments
 (0)