mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
shfmt: add more files
…and fix a single format issue found. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -138,7 +138,9 @@ shellcheck:
|
||||
|
||||
shfmt:
|
||||
shfmt -ln bats -d -w tests/integration/*.bats
|
||||
shfmt -ln bash -d -w man/*.sh script/* tests/*.sh tests/integration/*.bash
|
||||
shfmt -ln bash -d -w man/*.sh script/* \
|
||||
tests/*.sh tests/integration/*.bash tests/fuzzing/*.sh \
|
||||
contrib/completions/bash/runc contrib/cmd/seccompagent/*.sh
|
||||
|
||||
vendor:
|
||||
$(GO) mod tidy
|
||||
|
||||
@@ -12,7 +12,7 @@ fi
|
||||
# exits when not running inside bats. We can do hacks, but just to redefine
|
||||
# update_config() seems clearer. We don't even really need to keep them in sync.
|
||||
function update_config() {
|
||||
jq "$1" "./config.json" | awk 'BEGIN{RS="";getline<"-";print>ARGV[1]}' "./config.json"
|
||||
jq "$1" "./config.json" | awk 'BEGIN{RS="";getline<"-";print>ARGV[1]}' "./config.json"
|
||||
}
|
||||
|
||||
update_config '.linux.seccomp = {
|
||||
|
||||
Reference in New Issue
Block a user