diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-06-17 11:13:54 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-06-18 13:18:26 +0200 |
commit | 34fb88a477b6e5cb97845a304d062770a2596f43 (patch) | |
tree | 78074e97f6ef29db25e4797e8a94b1334f742910 /Makefile | |
parent | caa2801b87cb055c2a2fe27c67c3e13cd44fc71d (diff) |
Don't vendor dependencies when creating dist tarball.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -120,11 +120,6 @@ dist: $(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION).tar.xz.sig $(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION): $(GIT) clone . $(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION) cd $(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION) && \ - mkdir .cargo && \ - CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) \ - $(CARGO) vendor $(CARGO_FLAGS) \ - | sed 's/^directory = ".*"$$/directory = "vendor"/' \ - > .cargo/config && \ rm -rf .git $(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION).tar: \ @@ -143,7 +138,7 @@ dist-test dist-check: $(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION).tar.xz mkdir -p $(CARGO_TARGET_DIR)/dist-check $(TAR) xf $< -C $(CARGO_TARGET_DIR)/dist-check cd $(CARGO_TARGET_DIR)/dist-check/sequoia-$(VERSION) && \ - CARGO_HOME=$$(mktemp -d) $(MAKE) test CARGO_FLAGS=--frozen + CARGO_HOME=$$(mktemp -d) $(MAKE) test CARGO_FLAGS=--locked rm -rf $(CARGO_TARGET_DIR)/dist-check/sequoia-$(VERSION) # Housekeeping. |