add vendor target for non-vgo projects, as required
This commit is contained in:
parent
77bd9e8255
commit
9bc9e1aeb8
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -31,9 +31,13 @@ all: test dist
|
|||
apply:
|
||||
./build/bin/manifest apply
|
||||
|
||||
# vendor ensures the server dependencies are installed
|
||||
vendor:
|
||||
# Nothing required for vgo-based projects.
|
||||
|
||||
# server builds the server, if it exists, including support for multiple architectures
|
||||
.PHONY: server
|
||||
server:
|
||||
server: vendor
|
||||
ifneq ($(HAS_SERVER),)
|
||||
mkdir -p server/dist;
|
||||
cd server && env GOOS=linux GOARCH=amd64 $(GO) build -o dist/plugin-linux-amd64;
|
||||
|
|
Reference in a new issue