Skip to content

Commit

Permalink
build(makefile): fix package_*
Browse files Browse the repository at this point in the history
  • Loading branch information
r-zenine committed Nov 13, 2020
1 parent 66a4352 commit 94cb880
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ test: build check
cargo test --release

package_linux: test check build version
cd ./target/release/
tar -czvf $(PROJECT)_linux_x86_64_$(VERSION).tar.gz $(PROJECT)
cd ./target/release/ && tar -czvf $(PROJECT)_linux_x86_64_$(VERSION).tar.gz $(PROJECT)

package_macos_cross: build_macos_osxcross version
cd ./target/x86_64-apple-darwin/release
tar -czvf $(PROJECT)_macos_x86_64_$(VERSION).tar.gz $(PROJECT)

cd ./target/x86_64-apple-darwin/release && tar -czvf $(PROJECT)_macos_x86_64_$(VERSION).tar.gz $(PROJECT)

version:
$(info ===== $@ =====)
ifneq ($(GIT_TAG),)
Expand Down

0 comments on commit 94cb880

Please sign in to comment.