Skip to content

Commit

Permalink
chore(Makefile): remove target
Browse files Browse the repository at this point in the history
  • Loading branch information
vgonkivs committed May 5, 2023
1 parent 962361a commit 9a0d544
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ install-hooks:
.PHONY: init-hooks

## build: Build celestia-node binary.
build: fetch-tags
build:
@echo "--> Building Celestia"
@git fetch --tags
@go build -o build/ ${LDFLAGS} ./cmd/celestia
.PHONY: build

Expand All @@ -41,13 +42,13 @@ deps:
.PHONY: deps

## install: Install all build binaries into the $PREFIX (/usr/local/ by default) directory.
install: fetch-tags
install:
@echo "--> Installing Celestia"
@install -v ./build/* -t ${PREFIX}/bin/
.PHONY: install

## go-install: Build and install the celestia-node binary into the GOBIN directory.
go-install: fetch-tags
go-install:
@echo "--> Installing Celestia"
@go install ${LDFLAGS} ./cmd/celestia
.PHONY: go-install
Expand Down Expand Up @@ -93,12 +94,6 @@ lint: lint-imports
@cfmt -m=100 ./...
.PHONY: lint

## fetch-tags: Fetching all tags
fetch-tags:
@echo "--> Fetching all tags"
@git fetch --tags
.PHONY: fetch-tags

## test-unit: Running unit tests
test-unit:
@echo "--> Running unit tests"
Expand Down

0 comments on commit 9a0d544

Please sign in to comment.