mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-04-27 11:38:11 -03:00
Use npm scripts for travis commands
This commit is contained in:
parent
db69499594
commit
4b5cad207a
@ -7,6 +7,5 @@ before_script:
|
||||
script:
|
||||
- awesome_bot README.md --allow-dupe --allow-redirect
|
||||
- awesome_bot README_*.md --allow-dupe --allow-redirect
|
||||
- node node_modules/doctoc/doctoc.js --github README.md README_*.md
|
||||
- test -z "`git diff -- README.md`"
|
||||
- test -z "`git diff -- README_*.md`"
|
||||
- npm run toc
|
||||
- npm run diff
|
||||
|
@ -3,6 +3,10 @@
|
||||
"name": "git-flight-rules",
|
||||
"version": "1.0.0",
|
||||
"description": "Flight rules for git",
|
||||
"scripts": {
|
||||
"toc": "doctoc --github README.md README_*.md",
|
||||
"diff": "test -z \"`git diff -- README.md`\" && test -z \"`git diff -- README_*.md`\""
|
||||
},
|
||||
"devDependencies": {
|
||||
"doctoc": "^1.3.0",
|
||||
"anchor-markdown-header": "thlorenz/anchor-markdown-header#master"
|
||||
|
Loading…
x
Reference in New Issue
Block a user