Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,490 changes: 1,245 additions & 1,245 deletions .test/all-tags.json

Large diffs are not rendered by default.

12,646 changes: 6,323 additions & 6,323 deletions .test/builds.json

Large diffs are not rendered by default.

100 changes: 50 additions & 50 deletions .test/deploy-dry-run-test.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions .test/jq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ for t in "$dir/"*"/test.jq"; do
basename "$td"
args=( --tab -L "$dir/.." )
if [ -s "$td/in.jq" ]; then
jq "${args[@]}" -n -f "$td/in.jq" > "$td/in.json"
jq "${args[@]}" --null-input --from-file "$td/in.jq" > "$td/in.json"
fi
args+=( -f "$t" )
if [ -s "$td/in.json" ]; then
args+=( "$td/in.json" )
else
args+=( -n )
args+=( --null-input )
fi
out="$td/out.json"
outs=( "$td/out."* )
if [ "${#outs[@]}" -eq 1 ]; then
out="${outs[0]}"
if [[ "$out" != *.json ]]; then
args+=( -r )
args+=( --raw-output )
fi
fi
jq "${args[@]}" > "$out"
Expand Down
744 changes: 372 additions & 372 deletions .test/lookup-test.json

Large diffs are not rendered by default.

Loading