Remove build-snap-edge, keep snapcraft-local.yaml for local builds

This commit is contained in:
Alessio Treglia 2019-02-03 16:35:13 -08:00
parent 30fb0d79f4
commit 59727516ee
1 changed files with 3 additions and 8 deletions

View File

@ -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