Skip to content

Commit

Permalink
correct versions to 0.0.4 and fix double run and unnecessary bundler …
Browse files Browse the repository at this point in the history
…for macos (closes #54)
  • Loading branch information
raphamorim committed May 25, 2023
1 parent 187c678 commit 32fbde7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 5 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,16 @@ run:
dev:
cargo run

# create-dmg macos-arm64/Rio.app
pack-osx-arm:
mkdir -p build
cargo build -p rio --target aarch64-apple-darwin --release
cd rio && MACOSX_DEPLOYMENT_TARGET=10.14 cargo bundle --release
cp -r ./target/release/bundle/osx/* ./build/macos-arm64
# create-dmg build/macos-arm64/Rio.app
cd rio && cargo bundle --target aarch64-apple-darwin --release --format osx
cp -r ./target/aarch64-apple-darwin/release/bundle/* ./build/macos-arm64/
zip -r ./build/macos-arm64.zip ./build/macos-arm64

pack-osx-x86:
mkdir -p build
cargo build -p rio --target x86_64-apple-darwin --release
cd rio && cargo bundle --release
cp -r ./target/release/bundle/osx/* ./build/macos-x86
zip -r ./build/macos-x86.zip ./build/macos-x86
cargo build -p rio --target x86_64-apple-darwin --release
cd rio && cargo bundle --release
cp -r ./target/release/bundle/osx/* ./build/macos-x86
cd rio && cargo bundle --target x86_64-apple-darwin --release --format osx
cp -r ./target/x86_64-apple-darwin/release/bundle/* ./build/macos-x86/
zip -r ./build/macos-x86.zip ./build/macos-x86

lint:
Expand Down
4 changes: 2 additions & 2 deletions rio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rio"
version = "0.0.2"
version = "0.0.4"
authors = ["Raphael Amorim <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down Expand Up @@ -40,7 +40,7 @@ objc = "0.2.2"
name = "Rio"
identifier = "com.raphaelamorim.rio"
icon = ["src/screen/window/resources/images/logo-macos.ico"]
version = "1.0.0"
version = "0.0.4"
resources = ["src/screen/window/resources"]
copyright = "Copyright (c) Raphael Amorim 2023. All rights reserved."
category = "Developer Tool"
Expand Down

0 comments on commit 32fbde7

Please sign in to comment.