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