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
2
2
dist : trusty
3
3
sudo : required
4
4
node_js : stable
5
+ env :
6
+ - PATH=$HOME/purescript:$PATH
5
7
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
6
12
- npm install -g bower
7
13
- npm install
8
- - bower install
9
14
script :
15
+ - bower install --production
10
16
- npm run -s build
11
17
after_success :
12
18
- >-
Original file line number Diff line number Diff line change 17
17
" package.json"
18
18
],
19
19
"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"
21
23
}
22
24
}
Original file line number Diff line number Diff line change 2
2
"private" : true ,
3
3
"scripts" : {
4
4
"clean" : " rimraf output && rimraf .pulp-cache" ,
5
- "build" : " pulp build --censor-lib --strict" ,
5
+ "build" : " pulp build -- -- censor-lib --strict" ,
6
6
"test" : " pulp test"
7
7
},
8
8
"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"
13
12
}
14
13
}
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ module Data.HTTP.Method
9
9
import Prelude
10
10
11
11
import Data.Either (Either (..), either )
12
- import Data.Generic (class Generic )
13
12
import Data.String as Str
14
13
15
14
data Method
@@ -37,7 +36,6 @@ data Method
37
36
38
37
derive instance eqMethod :: Eq Method
39
38
derive instance ordMethod :: Ord Method
40
- derive instance genericMethod :: Generic Method
41
39
42
40
instance showMethod :: Show Method where
43
41
show OPTIONS = " OPTIONS"
@@ -64,7 +62,6 @@ unCustomMethod (CustomMethod m) = m
64
62
65
63
derive instance eqCustomMethod :: Eq CustomMethod
66
64
derive instance ordCustomMethod :: Ord CustomMethod
67
- derive instance genericCustomMethod :: Generic CustomMethod
68
65
69
66
instance showCustomMethod :: Show CustomMethod where
70
67
show (CustomMethod m) = " (CustomMethod " <> show m <> " )"
You can’t perform that action at this time.
0 commit comments