Skip to content

Commit c1d163c

Browse files
authored
Merge pull request #7 from purescript-node/update-build
Update build
2 parents 147a583 + 20e180d commit c1d163c

File tree

6 files changed

+30
-128
lines changed

6 files changed

+30
-128
lines changed

Diff for: .jscsrc

+5
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,

Diff for: .jshintrc

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
"freeze": true,
66
"funcscope": true,
77
"futurehostile": true,
8-
"globalstrict": true,
8+
"strict": "global",
99
"latedef": true,
10-
"maxparams": 1,
1110
"noarg": true,
1211
"nocomma": true,
1312
"nonew": true,

Diff for: .travis.yml

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
language: node_js
2-
sudo: false
3-
node_js:
4-
- 4
5-
- 6
2+
dist: trusty
3+
sudo: required
4+
node_js: 6
65
env:
76
- PATH=$HOME/purescript:$PATH
87
install:
@@ -13,4 +12,12 @@ install:
1312
- npm install -g bower
1413
- npm install
1514
script:
16-
- npm run build
15+
- bower install --production
16+
- npm run -s build
17+
- bower install
18+
- npm test
19+
after_success:
20+
- >-
21+
test $TRAVIS_TAG &&
22+
echo $GITHUB_TOKEN | pulp login &&
23+
echo y | pulp publish --no-push

Diff for: README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![Latest release](http://img.shields.io/bower/v/purescript-node-path.svg)](https://github.com/purescript-node/purescript-node-path/releases)
44
[![Build Status](https://travis-ci.org/purescript-node/purescript-node-path.svg?branch=master)](https://travis-ci.org/purescript-node/purescript-node-path)
5+
[![Dependency Status](https://www.versioneye.com/user/projects/5759d0757757a0004a1de996/badge.svg?style=flat)](https://www.versioneye.com/user/projects/5759d0757757a0004a1de996)
56
[![Maintainer: garyb](https://img.shields.io/badge/maintainer-garyb-lightgrey.svg)](http://github.com/garyb)
67

78
Type type definitions for Node's path module.
@@ -12,6 +13,6 @@ Type type definitions for Node's path module.
1213
bower install purescript-node-path
1314
```
1415

15-
## Module documentation
16+
## Documentation
1617

17-
- [Node.Path](docs/Node/Path.md)
18+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-node-path).

Diff for: docs/Node/Path.md

-112
This file was deleted.

Diff for: package.json

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
{
22
"private": true,
3+
"scripts": {
4+
"clean": "rimraf output && rimraf .pulp-cache",
5+
"build": "jshint src && jscs src && pulp build --censor-lib --strict",
6+
"test": "pulp test"
7+
},
38
"devDependencies": {
9+
"jscs": "^2.8.0",
10+
"jshint": "^2.9.1",
411
"pulp": "^9.0.0",
5-
"jscs": "^1.13.1",
6-
"jshint": "^2.8.0",
7-
"rimraf": "^2.3.3"
8-
},
9-
"scripts": {
10-
"build": "jshint src && jscs src && pulp build && rimraf docs && pulp docs",
11-
"postinstall": "bower install"
12+
"purescript-psa": "^0.3.8",
13+
"rimraf": "^2.5.0"
1214
}
1315
}

0 commit comments

Comments
 (0)