diff options
| author | Teddy Wing | 2016-04-27 17:28:54 -0400 |
|---|---|---|
| committer | Teddy Wing | 2016-04-27 17:28:54 -0400 |
| commit | e8f9b8b1a53a3fb7457933cbc1fbd0f9a37d0ae3 (patch) | |
| tree | 0127a497465016b3ba8fd9247ed7eff4465b7b70 | |
| parent | 665df66a7cd103b97dcd6667b02a051a797719a3 (diff) | |
| download | mutt-alias-auto-add-e8f9b8b1a53a3fb7457933cbc1fbd0f9a37d0ae3.tar.bz2 | |
Makefile: Add task to compress/package a release build
Provide a convenient way of creating a binary package that can be
uploaded to the GitHub releases page.
| -rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -10,3 +10,8 @@ test-all: test test-integration reinstall: cargo uninstall alias-auto-add cargo install + +package: + cargo build --release + version=`cat Cargo.toml | grep version | awk '{ gsub("\"", ""); print $$3 }'`; \ + xz --compress --to-stdout ./target/release/alias-auto-add > alias-auto-add_$${version}_osx_amd64.xz |
