update OSX mkrelease scripts

This allows OS X devs to bundle either a release or a nightly disk image.  See the updated readme for more information.
This commit is contained in:
Dan Guzek
2014-08-31 21:59:00 -04:00
parent 2eba76c873
commit f81bbffd66
2 changed files with 53 additions and 17 deletions
+26 -6
View File
@@ -1,15 +1,35 @@
StepMania Scripts For OS X
=========
This script can be used to bundle a .dmg installer of StepMania.
These scripts can be used to bundle a .dmg installer of StepMania.
It assumes you have already built a StepMania.app using Xcode and
that your stepmania directory structure is intact as you cloned it.
that your *stepmania* directory structure is intact as you cloned it.
To use this script, open a terminal and cd to your stepmania directory,
then run the following commands:
Bundling a Release:
-------------------
To bundle a release version of StepMania open a terminal and cd to
your *stepmania* directory, then run the following commands:
```
cd Xcode/scripts
ruby mkrelease.rb
```
You'll see output as each stepmania sub-directory is copied into a tmp directory.
If all goes well, you'll be notified that the dmg was created in your stepmania directory.
This will create a disk image like *StepMania-v5.0-beta-4-mac.dmg*
in the root of your *stepmania* directory.
Bundling a Nightly:
-------------------
To bundle an intermediate or "nightly" .dmg installer, cd to your
*stepmania* directory, and run the following commands:
```
cd Xcode/scripts
ruby mkrelease.rb nightly
```
This will create a disk image like *StepMania-v5.0-31-8-2014-mac.dmg*
in the root of your *stepmania* directory.