Skip to content

Commit

Permalink
Merge pull request #690 from Darkren/feature/build-from-bendor
Browse files Browse the repository at this point in the history
Build from vendor
  • Loading branch information
jdknives authored Feb 24, 2021
2 parents 36456f8 + 383ded7 commit 243218c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ BUILDINFO_COMMIT := -X $(BUILDINFO_PATH).commit=$(COMMIT)

BUILDINFO?=$(BUILDINFO_VERSION) $(BUILDINFO_DATE) $(BUILDINFO_COMMIT)

BUILD_OPTS?="-ldflags=$(BUILDINFO)"
BUILD_OPTS?="-ldflags=$(BUILDINFO)" -mod=vendor
BUILD_OPTS_DEPLOY?="-ldflags=$(BUILDINFO) -w -s"

check: lint test ## Run linters and tests

build: dep host-apps bin ## Install dependencies, build apps and binaries. `go build` with ${OPTS}
build: host-apps bin ## Build apps and binaries. `go build` with ${OPTS}

build-static: dep host-apps-static bin-static ## Install dependencies, build apps and binaries. `go build` with ${OPTS}
build-static: host-apps-static bin-static ## Build apps and binaries. `go build` with ${OPTS}

run: stop build config ## Run skywire-visor on host
./skywire-visor skywire.json
Expand Down

0 comments on commit 243218c

Please sign in to comment.