-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change dir when config change_directory true and platform is da…
…rwin (#34) 因为老版本 coffee 不支持插入 script,所以就升级到了最新版。 升级 coffee 后测试覆盖率无法收集,所以升级了 egg-bin。
- Loading branch information
1 parent
0e199fb
commit 444dee9
Showing
9 changed files
with
104 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
/node_modules/ | ||
coverage/ | ||
cache.json | ||
.nyc_output/ | ||
!test/fixtures/hook/.projj/cache.json | ||
!test/fixtures/find/.projj/cache.json | ||
!test/fixtures/find-change-directory/.projj/cache.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"github.com/eggjs/egg": { | ||
"repo": "[email protected]:eggjs/egg.git" | ||
}, | ||
"github.com/eggjs/egg-core": { | ||
"repo": "[email protected]:eggjs/egg-core.git" | ||
}, | ||
"gitlab.com/eggjs/egg-core": { | ||
"repo": "[email protected]:eggjs/egg-core.git" | ||
}, | ||
"gitlab.com/eggjs/autod-egg": { | ||
"repo": "[email protected]:eggjs/autod-egg.git" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"base": "..", | ||
"run_config": true, | ||
"change_directory":true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
'use strict'; | ||
|
||
const mm = require('mm'); | ||
const FindCommand = require('../../../lib/command/find'); | ||
|
||
mm(process, 'platform', 'darwin'); | ||
|
||
mm(FindCommand.prototype, 'runScript', function* (cmd) { | ||
console.log(cmd); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
'use strict'; | ||
|
||
const mm = require('mm'); | ||
const clipboardy = require('clipboardy'); | ||
|
||
|
||
mm(process, 'platform', 'not_darwin'); | ||
mm(clipboardy, 'write', function* () { | ||
return; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters