File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,17 @@ language: node_js
22dist : trusty
33sudo : required
44node_js : stable
5+ env :
6+ - PATH=$HOME/purescript:$PATH
57install :
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
612 - npm install -g bower
713 - npm install
8- - bower install
914script :
15+ - bower install --production
1016 - npm run -s build
1117after_success :
1218- >-
Original file line number Diff line number Diff line change 1717 " package.json"
1818 ],
1919 "dependencies" : {
20- "purescript-generics" : " ^4.0.0"
20+ "purescript-either" : " ^4.0.0" ,
21+ "purescript-prelude" : " ^4.0.0" ,
22+ "purescript-strings" : " ^4.0.0"
2123 }
2224}
Original file line number Diff line number Diff line change 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 "test" : " pulp test"
77 },
88 "devDependencies" : {
9- "pulp" : " ^11.0.0" ,
10- "purescript-psa" : " ^0.5.0" ,
11- "purescript" : " ^0.11.1" ,
12- "rimraf" : " ^2.6.1"
9+ "pulp" : " ^12.2.0" ,
10+ "purescript-psa" : " ^0.6.0" ,
11+ "rimraf" : " ^2.6.2"
1312 }
1413}
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ module Data.HTTP.Method
99import Prelude
1010
1111import Data.Either (Either (..), either )
12- import Data.Generic (class Generic )
1312import Data.String as Str
1413
1514data Method
@@ -37,7 +36,6 @@ data Method
3736
3837derive instance eqMethod :: Eq Method
3938derive instance ordMethod :: Ord Method
40- derive instance genericMethod :: Generic Method
4139
4240instance showMethod :: Show Method where
4341 show OPTIONS = " OPTIONS"
@@ -64,7 +62,6 @@ unCustomMethod (CustomMethod m) = m
6462
6563derive instance eqCustomMethod :: Eq CustomMethod
6664derive instance ordCustomMethod :: Ord CustomMethod
67- derive instance genericCustomMethod :: Generic CustomMethod
6865
6966instance showCustomMethod :: Show CustomMethod where
7067 show (CustomMethod m) = " (CustomMethod " <> show m <> " )"
You can’t perform that action at this time.
0 commit comments