diff --git a/Makefile b/Makefile index 19aa74e..7838856 100644 --- a/Makefile +++ b/Makefile @@ -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),)