Skip to content

Commit 5a5487a

Browse files
Merge pull request #215 from conveyal/dev
v3.9.3
2 parents 03d868c + 02f30b7 commit 5a5487a

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

__tests__/bin/mastarm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('mastarm cli', () => {
7373
})
7474

7575
it('should run lint on a project', done => {
76-
exec(`node ${mastarm} lint`, (err, stdout, stderr) => {
76+
exec(`node ${mastarm}-lint`, (err, stdout, stderr) => {
7777
expect(err).toBeNull()
7878
expect(stdout).toBe('')
7979
expect(stderr).toBe('')

bin/mastarm

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ commander
99
.command('build [entries...]', 'Bundle JavaScript & CSS')
1010
.command('commit', 'Force intelligent commit messages.')
1111
.command('deploy', 'Bundle & Deploy JavaScript & CSS')
12-
.command('flow [command]', 'Run flow on the current directory.')
12+
.command('flow', 'Run flow on the current directory.')
1313
.command('format [entries...]', 'Format JavaScript')
1414
.command('lint', 'Lint JavaScript')
1515
.command(

package.json

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,16 @@
77
"npm": "3"
88
},
99
"bin": {
10-
"mastarm": "bin/mastarm"
10+
"mastarm": "bin/mastarm",
11+
"mastarm-build": "bin/mastarm-build",
12+
"mastarm-commit": "bin/mastarm-commit",
13+
"mastarm-deploy": "bin/mastarm-deploy",
14+
"mastarm-flow": "bin/mastarm-flow",
15+
"mastarm-format": "bin/mastarm-format",
16+
"mastarm-lint": "bin/mastarm-lint",
17+
"mastarm-lint-messages": "bin/mastarm-lint-messages",
18+
"mastarm-prepublish": "bin/mastarm-prepublish",
19+
"mastarm-test": "bin/mastarm-test"
1120
},
1221
"scripts": {
1322
"cover": "bin/mastarm test --env test --test-environment node --coverage --coverage-paths bin",

0 commit comments

Comments
 (0)