Skip to content

Commit

Permalink
ci: fix missing target check_version and add eof blank line (osmosi…
Browse files Browse the repository at this point in the history
…s-labs#6797)

* ci: fix missing target `check_version`

* fix: incorrect name
  • Loading branch information
pluveto authored Nov 1, 2023
1 parent 18a495f commit 0c6c4db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ endif
### Build & Install ###
###############################################################################

build: check_version go.sum
build: build-check-version go.sum
mkdir -p $(BUILDDIR)/
GOWORK=off go build -mod=readonly $(BUILD_FLAGS) -o $(BUILDDIR)/ $(GO_MODULE)/cmd/osmosisd

install: check_version go.sum
install: build-check-version go.sum
GOWORK=off go install -mod=readonly $(BUILD_FLAGS) $(GO_MODULE)/cmd/osmosisd

###############################################################################
Expand Down
6 changes: 3 additions & 3 deletions scripts/makefiles/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ build-check-version:
exit 1; \
fi

build-all: check_version go.sum
build-all: build-check-version go.sum
mkdir -p $(BUILDDIR)/
GOWORK=off go build -mod=readonly $(BUILD_FLAGS) -o $(BUILDDIR)/ ./...

Expand All @@ -50,7 +50,7 @@ build-dev-build:
mkdir -p $(BUILDDIR)/
GOWORK=off go build $(GC_FLAGS) -mod=readonly -ldflags '$(DEBUG_LDFLAGS)' -trimpath -o $(BUILDDIR) ./...;

build-install-with-autocomplete: check_version go.sum
build-install-with-autocomplete: build-check-version go.sum
GOWORK=off go install -mod=readonly $(BUILD_FLAGS) $(GO_MODULE)/cmd/osmosisd
@PARENT_SHELL=$$(ps -o ppid= -p $$PPID | xargs ps -o comm= -p); \
if echo "$$PARENT_SHELL" | grep -q "zsh"; then \
Expand Down Expand Up @@ -136,4 +136,4 @@ build-linux: go.sum

build-contract-tests-hooks:
mkdir -p $(BUILDDIR)
go build -mod=readonly $(BUILD_FLAGS) -o $(BUILDDIR)/ ./cmd/contract_tests
go build -mod=readonly $(BUILD_FLAGS) -o $(BUILDDIR)/ ./cmd/contract_tests

0 comments on commit 0c6c4db

Please sign in to comment.