Skip to content

Commit

Permalink
tweak build
Browse files Browse the repository at this point in the history
  • Loading branch information
xudafeng committed Oct 23, 2017
1 parent c934e41 commit 53bdb8e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
language: node_js
sudo: false
node_js:
- "6"
script: make travis
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
- 7
script:
- make travis
after_script:
- npm install coveralls@2 && cat ./coverage/lcov.info | coveralls
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
git_version = $$(git branch 2>/dev/null | sed -e '/^[^*]/d'-e's/* \(.*\)/\1/')
npm_bin= $$(npm bin)
npm_bin= `npm bin`

all: test
install:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
## Installment

```shell
``` bash
$ npm i gradle --save-dev
```

Expand Down
5 changes: 4 additions & 1 deletion lib/gradle.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,8 @@ const gradleBuild = options => {

module.exports = options => {
return checkEnv(options)
.then(gradleBuild);
.then(gradleBuild)
.catch(e => {
console.log(e);
});
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gradle",
"version": "1.0.7",
"version": "1.0.8",
"description": "gradle",
"keywords": [
"Node.js wrapper for gradle"
Expand Down

0 comments on commit 53bdb8e

Please sign in to comment.