Skip to content

Commit

Permalink
Merge pull request nodejs#729 from nodejs/shfmt
Browse files Browse the repository at this point in the history
Introduce shfmt
  • Loading branch information
PeterDaveHello authored May 15, 2018
2 parents 16fdd1c + f384c2b commit 85ae047
Show file tree
Hide file tree
Showing 7 changed files with 464 additions and 444 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ jobs:
doctoc --title='## Table of Contents' --github README.md &&
diff -q README.md README.md.tmp

- stage: Test
env:
- TEST: shfmt check
script:
- docker run -it --rm -v "$(pwd)":/sh -w /sh jamesmstone/shfmt -i 2 -l -w -ci .
- git diff --color
- git diff --stat=220 --color --exit-code

- stage: Test
env:
- TEST: Shell Check
Expand Down
Loading

0 comments on commit 85ae047

Please sign in to comment.