rust-lang-deprecated / rust-packaging

Packaging for Rust + Cargo in multiple formats
Apache License 2.0
16 stars 11 forks source link

The OS X build is a mess #68

Open MarcusJohnson91 opened 7 years ago

MarcusJohnson91 commented 7 years ago

To make proper packages, you HAVE to use pkgbuild on a Mac, or possibly BOMUtils on Unix-like OSes.

Then you have to use tar+xz to create the Payload file which contains the actual executables, and a separate tar+xz Scripts file.

MarcusJohnson91 commented 7 years ago

I'm editing the build script, and i'm just wondering how I access the rust version to add it to Apple's PackageInfo file programmatically? what file stores the user facing version number?