Skip to content
Snippets Groups Projects
Commit f9b5c669 authored by Jake Taylor's avatar Jake Taylor
Browse files

fix makefile

parent a53d5251
No related branches found
No related tags found
No related merge requests found
.PHONY: update master release setup update_master update_release build .PHONY: update master release setup update_master update_release build clean version
setup: setup:
git config --global --add url."git@gitlab.com:".insteadOf "https://gitlab.com/" git config --global --add url."git@gitlab.com:".insteadOf "https://gitlab.com/"
update: version:
go run main.go generate
mv version_vars.go cmd/version_vars.go
clean:
rm -rf vendor/ rm -rf vendor/
go mod vendor go mod vendor
-GOFLAGS="" go get -u all
update:
-GOFLAGS="" go get all
build: build:
go build ./... go build ./...
go mod tidy go mod tidy
update_release: update_release:
GOFLAGS="" go get -u gitlab.com/elixxir/primitives@release GOFLAGS="" go get gitlab.com/xx_network/primitives@release
GOFLAGS="" go get -u gitlab.com/elixxir/comms@release GOFLAGS="" go get gitlab.com/elixxir/primitives@release
GOFLAGS="" go get -u gitlab.com/xx_network/primitives@release GOFLAGS="" go get gitlab.com/xx_network/comms@release
GOFLAGS="" go get -u gitlab.com/xx_network/comms@release GOFLAGS="" go get gitlab.com/elixxir/comms@release
update_master: update_master:
GOFLAGS="" go get -u gitlab.com/elixxir/primitives@master GOFLAGS="" go get gitlab.com/xx_network/primitives@master
GOFLAGS="" go get -u gitlab.com/elixxir/comms@master GOFLAGS="" go get gitlab.com/elixxir/primitives@master
GOFLAGS="" go get gitlab.com/xx_network/comms@master
GOFLAGS="" go get gitlab.com/elixxir/comms@master
master: update update_master build master: clean update_master build version
release: update update_release build release: clean update_release build version
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment