From 59727516eea6294b2e5ea0b00388dccc256c8af9 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Sun, 3 Feb 2019 16:35:13 -0800 Subject: [PATCH] Remove build-snap-edge, keep snapcraft-local.yaml for local builds --- Makefile | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 423179a0a..d583e0c76 100644 --- a/Makefile +++ b/Makefile @@ -123,7 +123,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 devtools-stamp vendor-deps snapcraft.yaml + rm -f devtools-stamp vendor-deps snapcraft-local.yaml distclean: clean rm -rf vendor/ @@ -256,14 +256,9 @@ localnet-stop: ######################################## ### Packaging -snapcraft.yaml: snapcraft.yaml.in +snapcraft-local.yaml: snapcraft-local.yaml.in sed "s/@VERSION@/${VERSION}/g" < $< > $@ -build-snap-edge: snapcraft.yaml - snapcraft clean - snapcraft - - # 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 @@ -274,4 +269,4 @@ build-linux build-docker-gaiadnode localnet-start localnet-stop \ format check-ledger test_sim_gaia_nondeterminism test_sim_modules test_sim_gaia_fast \ test_sim_gaia_custom_genesis_fast test_sim_gaia_custom_genesis_multi_seed \ test_sim_gaia_multi_seed test_sim_gaia_import_export update_tools update_dev_tools \ -build-snap-edge devtools-clean +devtools-clean