Commit Graph

66 Commits (de25232a7345d8dfe221d1d1a131419182989ca6)

Author SHA1 Message Date
neilpang d795fac37a update repo name 5 years ago
neil ce182f43db
Merge pull request #2527 from PeterDaveHello/RemoveTrailingSpaces
Remove trailing spaces in text files
5 years ago
Peter Dave Hello dd156d0689 Use shallow clone to speed up git clone on Travis CI
Shallow clone is faster than a normal one, there is no need to clone the
whole history of a repository when we only needs its latest or certain
state of commit.
5 years ago
Peter Dave Hello ac9f6e3a41 Remove trailing spaces in text files
This issue in the shell scripts will also be detected in the stable
version of shfmt(we are currently using an ancient pre-release of shfmt)
5 years ago
neilpang f0a87da375 fix shfmt 7 years ago
neilpang 8a5c4979ad fix shellcheck 7 years ago
neilpang 9eeebb147f fix osx build 7 years ago
neilpang 529cbc0379 run ci in docker 7 years ago
neilpang f62457a24e fix 7 years ago
neilpang cc6610edc2 add socat 8 years ago
neilpang 7b8ddfdd96 use socat 8 years ago
neilpang 13a8c309f5 fix new shellcheck errors 8 years ago
neilpang 4fd63f4e30 fix ci 8 years ago
neil d6edff3182 fix ci 8 years ago
Bastian Bittorf 2f4b84c074 travis: use only POSIX constructs here, avoid bashisms
e.g. [[ ]] -> [ ] and 'which' -> command -V

Although this is not strictly needed, it keeps the project uniformly POSIX.

Signed-off-by: Bastian Bittorf <bb@npl.de>
8 years ago
Bastian Bittorf 3ca93f4a4c shellcheck: fix several occurences of SC2034
message:
SC2034: $VARNAME appears unused. Verify it or export it.

most of these are related to the style:
we generate global vars, which are used in other functions.

the var "lexical_url" was really unused (left it as comment)

the travis-check now does not need anymore special flags.

Signed-off-by: Bastian Bittorf <bb@npl.de>
8 years ago
Bastian Bittorf 3b67cf4378 dnsapi/dns_dp.sh: shellcheck: fix 1 occurence of SC2126
shellcheck message was:
"Consider using grep -c instead of grep | wc"
8 years ago
Bastian Bittorf 800f02ba38 dnsapi/dns_lexicon.sh: shellcheck: fix 4 occurences of SC2021:
"Don't use [] around ranges in tr, it replaces literal square brackets."

this introduces another warning:
"Use '[:lower:]' to support accents and foreign alphabets."

This is more a style thingy because we really want to only catch A-Z.
work around this by using a shellcheck-directive and a comment
that the [:lower:] will not work with e.g. busybox-ash.

if we later really want to use [:lower:], we should use 'sed' for that.
8 years ago
neilpang 058e5d5f4b LF 8 years ago
neil 8b1fb3cb0c Dev (#419)
* fix CI

* fix ci

* fix ci
8 years ago
neilpang 74a7592b4b fix ci, remove NGROK_TOKEN_OSX 8 years ago
neilpang df86ff2191 fix ci 8 years ago
neilpang 41266f05e9 fix CI 8 years ago
neilpang d2aa331838 fix ci 8 years ago
neilpang 670cb9d223 fix ci 8 years ago
neilpang a205762bf0 fix ci 8 years ago
neilpang 2ffab66d97 fix ci 8 years ago
neilpang 10a6aec998 fix ci 8 years ago
neil 7cbe31baad fix ci 8 years ago
neil 8a09dc1b9b fix ci 8 years ago
neil fa6e174651 fix ci 8 years ago
neil 8dee328eae fix ci 8 years ago
neil 340155e6a6 fix ci 8 years ago
neil 7fe19a030a fix osx ci 8 years ago
neil 11e0ccdc91 fix ci 8 years ago
neil e55b2f4f8d fix ci 8 years ago
neilpang d78c1f695e fix ci 8 years ago
neilpang cfbb3e86b3 fix ci 8 years ago
neilpang fa6234e417 add NGROK_TOKEN_OSX 8 years ago
neilpang 9eeae9ad7e fix ch 8 years ago
neilpang 28688488ff fix ci 8 years ago
neilpang 41d804719f fix ci 8 years ago
neilpang bc18168662 fix ci 8 years ago
neilpang 1fadae82c7 fix ci 8 years ago
neilpang 791c62ca64 fix ci 8 years ago
neilpang 4441a6ff59 support osx CI 8 years ago
neilpang 5a7b7b51c5 fix ngrok 8 years ago
neilpang fa574fe833 fix shfmt 8 years ago
neilpang 9a6e18ce80 fix shfmt 8 years ago
neilpang 8f9034fc8b fix shfmt 8 years ago