Commit Graph

63 Commits

Author SHA1 Message Date
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)
2019-10-05 21:09:24 +08:00
neilpang
f0a87da375 fix shfmt 2018-04-20 23:32:42 +08:00
neilpang
8a5c4979ad fix shellcheck 2018-04-20 23:22:25 +08:00
neilpang
9eeebb147f fix osx build 2017-12-03 20:57:25 +08:00
neilpang
529cbc0379 run ci in docker 2017-12-03 12:51:51 +08:00
neilpang
f62457a24e fix 2017-11-13 20:54:29 +08:00
neilpang
cc6610edc2 add socat 2017-09-02 17:32:40 +08:00
neilpang
7b8ddfdd96 use socat 2017-09-02 08:59:30 +08:00
neilpang
13a8c309f5 fix new shellcheck errors 2017-07-08 09:20:12 +08:00
neilpang
4fd63f4e30 fix ci 2017-02-25 21:22:56 +08:00
neil
d6edff3182 fix ci 2017-02-06 14:20:37 +08:00
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>
2017-01-13 19:52:30 +01:00
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>
2017-01-13 14:54:09 +01:00
Bastian Bittorf
3b67cf4378 dnsapi/dns_dp.sh: shellcheck: fix 1 occurence of SC2126
shellcheck message was:
"Consider using grep -c instead of grep | wc"
2017-01-09 15:08:41 +01:00
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.
2017-01-09 12:21:32 +01:00
neilpang
058e5d5f4b LF 2017-01-05 22:32:26 +08:00
neil
8b1fb3cb0c Dev (#419)
* fix CI

* fix ci

* fix ci
2016-11-24 14:13:23 +08:00
neilpang
74a7592b4b fix ci, remove NGROK_TOKEN_OSX 2016-11-23 22:07:24 +08:00
neilpang
df86ff2191 fix ci 2016-11-23 21:17:51 +08:00
neilpang
41266f05e9 fix CI 2016-11-23 21:01:47 +08:00
neilpang
d2aa331838 fix ci 2016-11-23 20:46:11 +08:00
neilpang
670cb9d223 fix ci 2016-11-23 20:35:47 +08:00
neilpang
a205762bf0 fix ci 2016-11-23 20:21:43 +08:00
neilpang
2ffab66d97 fix ci 2016-11-23 20:01:40 +08:00
neilpang
10a6aec998 fix ci 2016-11-23 19:48:14 +08:00
neil
7cbe31baad fix ci 2016-11-23 18:51:49 +08:00
neil
8a09dc1b9b fix ci 2016-11-23 18:50:34 +08:00
neil
fa6e174651 fix ci 2016-11-23 13:59:15 +08:00
neil
8dee328eae fix ci 2016-11-23 13:53:44 +08:00
neil
340155e6a6 fix ci 2016-11-23 13:51:01 +08:00
neil
7fe19a030a fix osx ci 2016-11-23 13:39:27 +08:00
neil
11e0ccdc91 fix ci 2016-11-23 13:35:30 +08:00
neil
e55b2f4f8d fix ci 2016-11-23 13:18:29 +08:00
neilpang
d78c1f695e fix ci 2016-11-22 23:10:41 +08:00
neilpang
cfbb3e86b3 fix ci 2016-11-22 22:52:08 +08:00
neilpang
fa6234e417 add NGROK_TOKEN_OSX 2016-11-22 22:37:48 +08:00
neilpang
9eeae9ad7e fix ch 2016-11-22 22:28:29 +08:00
neilpang
28688488ff fix ci 2016-11-22 22:21:51 +08:00
neilpang
41d804719f fix ci 2016-11-22 22:10:29 +08:00
neilpang
bc18168662 fix ci 2016-11-22 22:06:19 +08:00
neilpang
1fadae82c7 fix ci 2016-11-22 22:03:59 +08:00
neilpang
791c62ca64 fix ci 2016-11-22 22:02:10 +08:00
neilpang
4441a6ff59 support osx CI 2016-11-22 21:59:40 +08:00
neilpang
5a7b7b51c5 fix ngrok 2016-11-18 21:40:03 +08:00
neilpang
fa574fe833 fix shfmt 2016-11-16 22:44:39 +08:00
neilpang
9a6e18ce80 fix shfmt 2016-11-16 22:37:03 +08:00
neilpang
8f9034fc8b fix shfmt 2016-11-16 22:28:33 +08:00
neilpang
c947322a69 sudo for travis 2016-11-15 21:49:35 +08:00
neilpang
09f1c58872 test ngrok 2016-11-15 19:45:04 +08:00
neilpang
7f944c2c8b test ngrok 2016-11-15 19:38:28 +08:00