Skip to content

Commit

Permalink
Strip release binaries
Browse files Browse the repository at this point in the history
See rust-lang/rust#46034

[skip CI]
  • Loading branch information
Byron committed Jan 7, 2018
1 parent 7aedd88 commit 22acff5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ $(MUSL_EXE): build-linux-musl
$(RELEASE_MUSL_EXE): release-linux-musl

deployable-linux: $(RELEASE_MUSL_EXE)
strip --strip-all $<
tar czf sy-cli-linux-musl-x86_64.tar.gz -C $(dir $<) $(notdir $<)

deployable-host: $(RELEASE_EXE)
strip $<
echo tar czf sy-cli-$$(uname -s)-$$(uname -m).tar.gz -C $(dir $<) $(notdir $<)
tar czf sy-cli-$$(uname -s)-$$(uname -m).tar.gz -C $(dir $<) $(notdir $<)

Expand Down

0 comments on commit 22acff5

Please sign in to comment.