Skip to content

Commit 127f09a

Browse files
authored
chore(Makefile): make install faster (ignite#1238)
* chore(Makefile): make install faster * fix
1 parent d596654 commit 127f09a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
DATE := $(shell date '+%Y-%m-%dT%H:%M:%S')
2-
VERSION = $(shell git describe --tags)
2+
VERSION = development
33
HEAD = $(shell git rev-parse HEAD)
44
LD_FLAGS = -X github.com/tendermint/starport/starport/internal/version.Version='$(VERSION)' \
55
-X github.com/tendermint/starport/starport/internal/version.Head='$(HEAD)' \
66
-X github.com/tendermint/starport/starport/internal/version.Date='$(DATE)'
77
BUILD_FLAGS = -mod=readonly -ldflags='$(LD_FLAGS)'
88

9-
pre-build:
10-
@git fetch --tags
11-
12-
install: pre-build
9+
install:
1310
@echo Installing Starport...
1411
@go install $(BUILD_FLAGS) ./...
1512
@starport version

0 commit comments

Comments
 (0)