mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-11 00:37:12 +02:00
30 lines
463 B
Bash
Executable File
30 lines
463 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
PYTHON_COMMAND=${PYTHON_COMMAND:=python}
|
|
|
|
set -x
|
|
|
|
|
|
[ "$1" = "--skip-go-test" ] || go test ./...
|
|
|
|
|
|
c-bindings-tests/run.sh
|
|
|
|
$PYTHON_COMMAND setup.py build
|
|
$PYTHON_COMMAND setup.py test
|
|
|
|
export IMPLEMENTATION=golang
|
|
|
|
go build ./cmd/jsonnet
|
|
|
|
export DISABLE_LIB_TESTS=true
|
|
export DISABLE_FMT_TESTS=true
|
|
export DISABLE_ERROR_TESTS=true
|
|
export JSONNET_BIN="$PWD/jsonnet"
|
|
|
|
git submodule update --recursive cpp-jsonnet
|
|
cd cpp-jsonnet
|
|
exec ./tests.sh
|