1
0
mirror of https://github.com/drone/drone-cli.git synced 2026-01-20 09:51:34 +01:00
drone-cli/vendor/github.com/google/go-jsonnet/tests.sh
2018-10-09 11:18:46 -07:00

19 lines
332 B
Bash
Executable File

#!/bin/bash
set -e
[ "$1" = "--skip-go-test" ] || go test ./...
export IMPLEMENTATION=golang
(cd jsonnet; go build)
export DISABLE_LIB_TESTS=true
export DISABLE_FMT_TESTS=true
export DISABLE_ERROR_TESTS=true
export JSONNET_BIN="$PWD/jsonnet/jsonnet"
git submodule update --recursive cpp-jsonnet
cd cpp-jsonnet
exec ./tests.sh