mirror of https://github.com/scribd/objinsync
17 lines
370 B
Makefile
17 lines
370 B
Makefile
test:
|
|
go test -timeout 5s -race ./...
|
|
|
|
cover:
|
|
go test -coverprofile=go-cover.profile -timeout 5s ./...
|
|
go tool cover -html=go-cover.profile
|
|
rm go-cover.profile
|
|
|
|
build-img:
|
|
docker build --rm -t objinsync:latest .
|
|
|
|
run:
|
|
DEBUG=1 AWS_REGION=us-east-2 go run main.go pull s3://airflow_bucket/airflow_home/dags ./dags
|
|
|
|
watch:
|
|
find . -iname '*.go' | entr -s 'make test'
|