Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run locally again #12

Merged
merged 2 commits into from
Oct 16, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ node_js:
script:
- npm test
- npm run build
# - npm link
# - danger
- npm run link
- danger

after_script:
- npm run flow
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ flow-typed install

( and maybe `flow-typed install jest@14`)

You can run the `danger` command globally from your dev build by running `npm link`.
You can run the `danger` command globally from your dev build by running `npm run link`.

### What is the TODO?

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Automate your culture",
"main": "distribution/danger.js",
"bin": {
"danger": "distribution/commands/runner.js"
"danger": "distribution/commands/danger.js"
},
"jest": {
"verbose": true,
Expand All @@ -20,7 +20,8 @@
"lint": "eslint ./source",
"fix": "eslint ./source --fix",
"build": "babel source --out-dir distribution --source-maps",
"buildwatch": "babel source --watch --out-dir distribution"
"buildwatch": "babel source --watch --out-dir distribution",
"link": "npm run build ; chmod +x distribution/commands/danger.js ; npm link"
},
"repository": {
"type": "git",
Expand Down
13 changes: 0 additions & 13 deletions source/commands/app.js

This file was deleted.

1 change: 1 addition & 0 deletions source/commands/danger.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#! /usr/bin/env node
// @flow
// This is needed so that other files can use async funcs
import "babel-polyfill"
Expand Down