Skip to content

Commit 85ae047

Browse files
Merge pull request #729 from nodejs/shfmt
Introduce shfmt
2 parents 16fdd1c + f384c2b commit 85ae047

File tree

7 files changed

+464
-444
lines changed

7 files changed

+464
-444
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ jobs:
3232
doctoc --title='## Table of Contents' --github README.md &&
3333
diff -q README.md README.md.tmp
3434

35+
- stage: Test
36+
env:
37+
- TEST: shfmt check
38+
script:
39+
- docker run -it --rm -v "$(pwd)":/sh -w /sh jamesmstone/shfmt -i 2 -l -w -ci .
40+
- git diff --color
41+
- git diff --stat=220 --color --exit-code
42+
3543
- stage: Test
3644
env:
3745
- TEST: Shell Check

0 commit comments

Comments
 (0)