Skip to content

Commit 8f2bfad

Browse files
authored
Merge pull request #5 from purescript-contrib/compiler/0.12
Compiler/0.12
2 parents 163b1ba + ec2503a commit 8f2bfad

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@ language: node_js
22
dist: trusty
33
sudo: required
44
node_js: stable
5+
env:
6+
- PATH=$HOME/purescript:$PATH
57
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
612
- npm install -g bower
713
- npm install
8-
- bower install
914
script:
15+
- bower install --production
1016
- npm run -s build
1117
after_success:
1218
- >-

bower.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
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
}

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +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
"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
}

src/Data/HTTP/Method.purs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ module Data.HTTP.Method
99
import Prelude
1010

1111
import Data.Either (Either(..), either)
12-
import Data.Generic (class Generic)
1312
import Data.String as Str
1413

1514
data Method
@@ -37,7 +36,6 @@ data Method
3736

3837
derive instance eqMethod :: Eq Method
3938
derive instance ordMethod :: Ord Method
40-
derive instance genericMethod :: Generic Method
4139

4240
instance showMethod :: Show Method where
4341
show OPTIONS = "OPTIONS"
@@ -64,7 +62,6 @@ unCustomMethod (CustomMethod m) = m
6462

6563
derive instance eqCustomMethod :: Eq CustomMethod
6664
derive instance ordCustomMethod :: Ord CustomMethod
67-
derive instance genericCustomMethod :: Generic CustomMethod
6865

6966
instance showCustomMethod :: Show CustomMethod where
7067
show (CustomMethod m) = "(CustomMethod " <> show m <> ")"

0 commit comments

Comments
 (0)