Files
dokku/plugins/repo/Makefile
2017-03-20 09:15:43 -07:00

15 lines
289 B
Makefile

.PHONY: build-in-docker build commands subcommands
build-in-docker: clean
docker run --rm \
-v $$PWD/../..:$(GO_REPO_ROOT) \
-w $(GO_REPO_ROOT)/plugins/repo \
$(BUILD_IMAGE) \
bash -c "make build" || exit $$?
build:
cd src && go build -a -o ../commands
clean:
rm -f commands