Skip to content

Commit 951b466

Browse files
committed
Merge pull request #38 from purescript/0.8-updates
Updates for PureScript 0.8
2 parents a6be605 + afc79f8 commit 951b466

28 files changed

+164
-538
lines changed

.jscsrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"preset": "grunt",
3+
"disallowSpacesInFunctionExpression": null,
4+
"requireSpacesInFunctionExpression": {
5+
"beforeOpeningRoundBrace": true,
6+
"beforeOpeningCurlyBrace": true
7+
},
38
"disallowSpacesInAnonymousFunctionExpression": null,
49
"requireSpacesInAnonymousFunctionExpression": {
510
"beforeOpeningRoundBrace": true,

.jshintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
"singleGroups": true,
1616
"undef": true,
1717
"unused": true,
18-
"eqnull": true
18+
"eqnull": true,
19+
"predef": ["exports"]
1920
}

.travis.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
language: node_js
2-
sudo: false
3-
node_js:
4-
- 0.10
2+
sudo: required
3+
dist: trusty
4+
node_js: 5
55
env:
66
- PATH=$HOME/purescript:$PATH
77
install:
88
- 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')
99
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
1010
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1111
- chmod a+x $HOME/purescript
12+
- npm install -g bower
1213
- npm install
14+
- bower install
1315
script:
14-
- npm run build
16+
- npm run examples
17+
after_success:
18+
- >-
19+
test $TRAVIS_TAG &&
20+
psc-publish > .pursuit.json &&
21+
curl -X POST http://pursuit.purescript.org/packages \
22+
-d @.pursuit.json \
23+
-H 'Accept: application/json' \
24+
-H "Authorization: token ${GITHUB_TOKEN}"

bower.json

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
{
22
"name": "purescript-foreign",
33
"homepage": "https://github.com/purescript/purescript-foreign",
4+
"description": "PureScript library for dealing with foreign data (JSON and JavaScript objects)",
45
"authors": [
56
"Gary Burgess <[email protected]>",
67
"Phil Freeman <[email protected]>"
78
],
8-
"description": "PureScript library for dealing with foreign data (JSON and JavaScript objects)",
9-
"keywords": [
10-
"purescript"
11-
],
129
"repository": {
1310
"type": "git",
1411
"url": "git://github.com/purescript/purescript-foreign.git"
@@ -24,14 +21,14 @@
2421
"package.json"
2522
],
2623
"dependencies": {
27-
"purescript-arrays": "^0.4.0",
28-
"purescript-either": "^0.2.0",
29-
"purescript-foldable-traversable": "^0.4.0",
30-
"purescript-functions": "^0.1.0",
31-
"purescript-integers": "^0.2.0",
32-
"purescript-strings": "^0.7.0"
24+
"purescript-arrays": "^1.0.0-rc.1",
25+
"purescript-either": "^1.0.0-rc.1",
26+
"purescript-foldable-traversable": "^1.0.0-rc.1",
27+
"purescript-functions": "^1.0.0-rc.1",
28+
"purescript-integers": "^1.0.0-rc.1",
29+
"purescript-strings": "^1.0.0-rc.1"
3330
},
3431
"devDependencies": {
35-
"purescript-console": "^0.1.0"
32+
"purescript-console": "^1.0.0-rc.1"
3633
}
3734
}

docs/Data/Foreign.md

Lines changed: 0 additions & 173 deletions
This file was deleted.

docs/Data/Foreign/Class.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

docs/Data/Foreign/Index.md

Lines changed: 0 additions & 52 deletions
This file was deleted.

docs/Data/Foreign/Keys.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)