Skip to content

Commit

Permalink
Handle build correctly (#4016)
Browse files Browse the repository at this point in the history
Remove build from .PHONY, add it to clean
  • Loading branch information
alessio committed Apr 2, 2019
1 parent 3e26ea7 commit 3b9a1f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ draw_deps: tools
@goviz -i github.com/cosmos/cosmos-sdk/cmd/gaia/cmd/gaiad -d 2 | dot -Tpng -o dependency-graph.png

clean:
rm -f snapcraft-local.yaml
rm -rf snapcraft-local.yaml build/

distclean: clean
rm -rf vendor/
Expand Down Expand Up @@ -264,7 +264,7 @@ snapcraft-local.yaml: snapcraft-local.yaml.in
# To avoid unintended conflicts with file names, always add to .PHONY
# unless there is a reason not to.
# https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
.PHONY: build install install_debug dist clean distclean \
.PHONY: install install_debug dist clean distclean \
draw_deps test test_cli test_unit \
test_cover lint benchmark devdoc_init devdoc devdoc_save devdoc_update \
build-linux build-docker-gaiadnode localnet-start localnet-stop \
Expand Down

0 comments on commit 3b9a1f7

Please sign in to comment.