Put the binaries in the official place

This commit is contained in:
Peter Bourgon
2015-09-10 15:43:19 +02:00
parent fc95067bd3
commit dde214c103

View File

@@ -77,10 +77,11 @@ $(SCOPE_UI_BUILD_EXPORT): client/Dockerfile client/package.json client/webpack.l
docker build -t $(SCOPE_UI_BUILD_IMAGE) client
docker save $(SCOPE_UI_BUILD_IMAGE):latest > $@
# backend is an alternate Docker-based method to produce APP_EXE and PROBE_EXE
backend:
docker build -t $(SCOPE_BACKEND_BUILD_IMAGE) backend
docker run -ti -v $(shell pwd)/backend:/mount $(SCOPE_BACKEND_BUILD_IMAGE) cp /go/bin/scope-app /mount
docker run -ti -v $(shell pwd)/backend:/mount $(SCOPE_BACKEND_BUILD_IMAGE) cp /go/bin/scope-probe /mount
docker run -ti -v $(shell pwd)/app:/mount $(SCOPE_BACKEND_BUILD_IMAGE) cp /go/bin/scope-app /mount
docker run -ti -v $(shell pwd)/probe:/mount $(SCOPE_BACKEND_BUILD_IMAGE) cp /go/bin/scope-probe /mount
clean:
go clean ./...