damage per head (#32)
This commit is contained in:
19
build/macos/justfile
Normal file
19
build/macos/justfile
Normal file
@@ -0,0 +1,19 @@
|
||||
[working-directory: "../../"]
|
||||
build-lipo:
|
||||
cargo build --release --target=x86_64-apple-darwin
|
||||
cargo build --release --target=aarch64-apple-darwin
|
||||
lipo -create -output target/release/hedz_reloaded target/aarch64-apple-darwin/release/hedz_reloaded target/x86_64-apple-darwin/release/hedz_reloaded
|
||||
|
||||
[working-directory: "../../"]
|
||||
build-app: build-lipo
|
||||
rm -rf build/macos/src/HEDZReloaded.app/Contents/MacOS/* | true
|
||||
mkdir -p build/macos/src/HEDZReloaded.app/Contents/MacOS/assets
|
||||
cp -r assets/ build/macos/src/HEDZReloaded.app/Contents/MacOS/assets
|
||||
cp target/release/hedz_reloaded build/macos/src/HEDZReloaded.app/Contents/MacOS/
|
||||
cp build/macos/libsteam_api.dylib build/macos/src/HEDZReloaded.app/Contents/MacOS/
|
||||
|
||||
[working-directory: "../../"]
|
||||
build-dmg: build-app
|
||||
rm build/macos/src/Applications | true
|
||||
ln -s /Applications build/macos/src/
|
||||
hdiutil create -fs HFS+ -volname "HEDZReloaded" -srcfolder build/macos/src HEDZReloaded.dmg
|
||||
Reference in New Issue
Block a user