From c417a2fc7975f508c9e8784decd53e6bb6d131f9 Mon Sep 17 00:00:00 2001 From: Halimao <1065621723@qq.com> Date: Mon, 22 Jan 2024 15:37:17 +0800 Subject: [PATCH] address suggestion changes --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 1b9e4b60a8..e17e6446d7 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,7 @@ goimports: # INSTALLATION # ============ -#? build: Build all binaries +#? build: Build all binaries, place them in project directory build: @$(call print, "Building all binaries") $(GOBUILD) $(PKG) @@ -75,7 +75,7 @@ build: $(GOBUILD) $(PKG)/cmd/findcheckpoint $(GOBUILD) $(PKG)/cmd/addblock -#? install: Install all binaries +#? install: Install all binaries, place them in $GOPATH/bin install: @$(call print, "Installing all binaries") $(GOINSTALL) $(PKG) @@ -84,7 +84,7 @@ install: $(GOINSTALL) $(PKG)/cmd/findcheckpoint $(GOINSTALL) $(PKG)/cmd/addblock -#? release-install: Install btcd and btcctl release binaries +#? release-install: Install btcd and btcctl release binaries, place them in $GOPATH/bin release-install: @$(call print, "Installing btcd and btcctl release binaries") env CGO_ENABLED=0 $(GOINSTALL) -trimpath -ldflags="-s -w -buildid=" $(PKG) @@ -130,7 +130,7 @@ unit-race: # UTILITIES # ========= -#? fmt: Fix imports +#? fmt: Fix imports and formatting source fmt: goimports @$(call print, "Fixing imports.") goimports -w $(GOFILES_NOVENDOR) @@ -163,9 +163,9 @@ tidy-module: lint \ clean - -#? help: Get more info on make commands. +#? help: Get more info on make commands help: Makefile @echo " Choose a command run in btcd:" @sed -n 's/^#?//p' $< | column -t -s ':' | sort | sed -e 's/^/ /' -.PHONY: help \ No newline at end of file + +.PHONY: help