Skip to content

Commit 248d395

Browse files
committed
Merge pull request #60 from purescript/0.8-updates
Updates for PureScript 0.8
2 parents e4317a2 + 4e8af7d commit 248d395

File tree

17 files changed

+92
-499
lines changed

17 files changed

+92
-499
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"freeze": true,
66
"funcscope": true,
77
"futurehostile": true,
8-
"globalstrict": true,
8+
"strict": "global",
99
"latedef": true,
1010
"maxparams": 1,
1111
"noarg": true,
@@ -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: 13 additions & 3 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:
1416
- npm run build
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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ String and char utility functions, regular expressions.
1212
bower install purescript-strings
1313
```
1414

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

17-
- [Data.Char](docs/Data/Char.md)
18-
- [Data.String](docs/Data/String.md)
19-
- [Data.String.Regex](docs/Data/String/Regex.md)
20-
- [Data.String.Unsafe](docs/Data/String/Unsafe.md)
17+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-strings).

bower.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
"name": "purescript-strings",
33
"homepage": "https://github.com/purescript/purescript-strings",
44
"description": "String and char utility functions, regular expressions.",
5-
"keywords": [
6-
"purescript"
7-
],
85
"license": "MIT",
96
"repository": {
107
"type": "git",
@@ -15,15 +12,17 @@
1512
"bower_components",
1613
"node_modules",
1714
"output",
15+
"test",
1816
"bower.json",
1917
"package.json"
2018
],
2119
"dependencies": {
22-
"purescript-maybe": "^0.3.0",
23-
"purescript-either": "^0.2.0"
20+
"purescript-either": "^1.0.0-rc.1",
21+
"purescript-maybe": "^1.0.0-rc.1"
2422
},
2523
"devDependencies": {
26-
"purescript-assert": "~0.1.0",
27-
"purescript-console": "~0.1.0"
24+
"purescript-assert": "^1.0.0-rc.1",
25+
"purescript-console": "^1.0.0-rc.1",
26+
"purescript-partial": "^1.1.0"
2827
}
2928
}

docs/Data/Char.md

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

docs/Data/String.md

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

0 commit comments

Comments
 (0)