Skip to content

Commit

Permalink
Updates for 0.11, remove deprecated generics dependency (#16)
Browse files Browse the repository at this point in the history
* Updates for 0.11, remove deprecated generics dependency

* Remove test calls

* stable
  • Loading branch information
paf31 authored Apr 7, 2017
1 parent 6a84b45 commit 22376b0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
10 changes: 2 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
language: node_js
dist: trusty
sudo: required
node_js: 6
env:
- PATH=$HOME/purescript:$PATH
node_js: stable
install:
- 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')
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
- chmod a+x $HOME/purescript
- npm install -g bower
- npm install
- bower install
- bower install --production
script:
- npm run -s build
after_success:
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"package.json"
],
"dependencies": {
"purescript-generics": "^3.0.0"
"purescript-tuples": "^4.0.0"
}
}
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
"private": true,
"scripts": {
"clean": "rimraf output && rimraf .pulp-cache",
"build": "pulp build --censor-lib --strict"
"build": "pulp build -- --censor-lib --strict"
},
"devDependencies": {
"pulp": "^9.0.0",
"purescript-psa": "^0.3.9",
"rimraf": "^2.5.0"
"pulp": "^11.0.0",
"purescript-psa": "^0.5.0",
"purescript": "^0.11.1",
"rimraf": "^2.5.4"
}
}
2 changes: 0 additions & 2 deletions src/Data/These.purs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Control.Extend (class Extend)
import Data.Bifunctor (class Bifunctor)
import Data.Bitraversable (class Bitraversable, class Bifoldable, bitraverse)
import Data.Functor.Invariant (class Invariant, imapF)
import Data.Generic (class Generic)
import Data.Maybe (Maybe(..))
import Data.Traversable (class Traversable, class Foldable, foldMap, foldl, foldr)
import Data.Tuple (Tuple(..))
Expand All @@ -19,7 +18,6 @@ data These a b

derive instance eqThese :: (Eq a, Eq b) => Eq (These a b)
derive instance ordThese :: (Ord a, Ord b) => Ord (These a b)
derive instance genericThese :: (Generic a, Generic b) => Generic (These a b)

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

0 comments on commit 22376b0

Please sign in to comment.