-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
shenyunjie
committed
Nov 21, 2017
1 parent
8a5703c
commit 774857a
Showing
3 changed files
with
24 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// git add . && git commit -am \"Auto update\" && git push | ||
const path = require('path'); | ||
const { compile } = require('../config/util'); | ||
const argv = process.argv; | ||
const msg = argv[2]; | ||
|
||
(async () => { | ||
await compile(`git add . && git commit -am "${msg}" && git push`, path.resolve(__dirname, '..')); | ||
process.exit(0); | ||
})(); |
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,12 @@ | ||
const path = require('path'); | ||
const { compile } = require('../config/util'); | ||
const argv = process.argv; | ||
const msg = argv[2]; | ||
|
||
(async () => { | ||
await compile( | ||
`npm run version && npm run noistanbul && npm run build && npm run hasistanbul && npm run git ${msg}`, | ||
path.resolve(__dirname, '..') | ||
); | ||
process.exit(0); | ||
})(); |
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