.PHONY: all

KOMPOSE_ENVS := \
	-e OS_PLATFORM_ARG \
	-e OS_ARCH_ARG \
	-e TESTDIRS \
	-e TESTFLAGS \
	-e TESTVERBOSE

BIND_DIR := bundles

default: binary

all:
	CGO_ENABLED=1 ./script/make.sh

binary:
	CGO_ENABLED=1 ./script/make.sh binary

binary-cross:
	# CGO_ENABLED=1 ./script/make.sh binary-cross
	./script/make.sh binary-cross

clean:
	./script/make.sh clean

test-unit:
	./script/make.sh test-unit
test-cmd:
	./script/make.sh test-cmd

validate: gofmt vet

vet:
	./script/make.sh validate-vet
lint:
	./script/make.sh validate-lint
gofmt:
	./script/make.sh validate-gofmt
