Browse Source
Merge pull request #375 from Neilpang/dev
Merge pull request #375 from Neilpang/dev
Add shfmt to format source codepull/372/merge
neil
8 years ago
committed by
GitHub
12 changed files with 1590 additions and 1709 deletions
-
11.travis.yml
-
452acme.sh
-
5deploy/myapi.sh
-
10dnsapi/dns_cf.sh
-
14dnsapi/dns_cx.sh
-
18dnsapi/dns_dp.sh
-
11dnsapi/dns_gd.sh
-
6dnsapi/dns_lexicon.sh
-
8dnsapi/dns_lua.sh
-
7dnsapi/dns_myapi.sh
-
23dnsapi/dns_ovh.sh
-
2dnsapi/dns_pdns.sh
@ -0,0 +1,11 @@ |
|||
language: bash |
|||
|
|||
env: |
|||
global: |
|||
- SHFMT_URL=https://github.com/mvdan/sh/releases/download/v0.4.0/shfmt_v0.4.0_linux_amd64 |
|||
|
|||
script: |
|||
- curl -sSL $SHFMT_URL -o ~/shfmt |
|||
- chmod +x ~/shfmt |
|||
- ~/shfmt -l -w -i 2 . |
|||
- git diff --exit-code || (echo "Run shfmt to fix the formatting issues" && false) |
452
acme.sh
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue