Skip to content

Commit 1ada6db

Browse files
committed
Merge pull request #43 from purescript/0.8-updates
Updates for PureScript 0.8
2 parents 4a681d9 + 22fb6ba commit 1ada6db

19 files changed

+306
-746
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/.*
22
!/.gitignore
3+
!/.jscsrc
4+
!/.jshintrc
35
!/.travis.yml
46
/bower_components/
57
/node_modules/
68
/output/
7-
/tmp/

.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 test
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}"

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ Classes for foldable and traversable data structures.
1212
bower install purescript-foldable-traversable
1313
```
1414

15-
## Module documentation
15+
## Documentation
1616

17-
- [Data.Foldable](docs/Data/Foldable.md)
18-
- [Data.Traversable](docs/Data/Traversable.md)
19-
20-
## Bifunctors
21-
22-
- [Data.Bifoldable](docs/Data/Bifoldable.md)
23-
- [Data.Bitraversable](docs/Data/Bitraversable.md)
17+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-foldable-traversable).

bower.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
"name": "purescript-foldable-traversable",
33
"homepage": "https://github.com/purescript/purescript-foldable-traversable",
44
"description": "Classes for foldable and traversable data structures",
5-
"keywords": [
6-
"purescript",
7-
"foldable",
8-
"traversable"
9-
],
105
"license": "MIT",
116
"repository": {
127
"type": "git",
@@ -15,22 +10,20 @@
1510
"ignore": [
1611
"**/.*",
1712
"bower_components",
18-
"examples",
1913
"node_modules",
2014
"output",
2115
"test",
2216
"bower.json",
2317
"package.json"
2418
],
2519
"dependencies": {
26-
"purescript-bifunctors": "^0.4.0",
27-
"purescript-maybe": "^0.3.0"
20+
"purescript-bifunctors": "^1.0.0-rc.1",
21+
"purescript-maybe": "^1.0.0-rc.1"
2822
},
2923
"devDependencies": {
30-
"purescript-console": "^0.1.0",
31-
"purescript-assert": "^0.1.0",
32-
"purescript-functions": "~0.1.0",
33-
"purescript-integers": "~0.2.1",
34-
"purescript-math": "~0.2.0"
24+
"purescript-assert": "^1.0.0-rc.1",
25+
"purescript-console": "^1.0.0-rc.1",
26+
"purescript-integers": "^1.0.0-rc.1",
27+
"purescript-math": "^1.0.0-rc.1"
3528
}
3629
}

docs/Data/Bifoldable.md

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

docs/Data/Bitraversable.md

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

0 commit comments

Comments
 (0)