motion-sparkle
motion-sparkle copied to clipboard
set the build_mode to :release early
The RM Rakefile can have different settings for development and release, for example by using
app.release do
end
use App.config_without_setup.build_mode = :release
to make sure we pick up any of those values
Interesting, never ran into that before and happy to support it.
I wonder if there's any way to set this somewhere allowing us to reuse it (or just overwrite it) with a shorter syntax. Do you have any ideas?
Thanks!
Hmm, i'm not sure what you mean by reuse it. Here is my use case:
app.development do
app.name = "#{app.name}-dev"
app.identifier = "#{app.identifier}-dev"
app.version << "-#{`git rev-parse --abbrev-ref HEAD`}".strip # add the branch name
end
app.release do
if ENV['store'] == 'mas'
app.codesign_certificate = ENV['mas_codesign_certificate']
else
app.codesign_certificate = ENV['paddle_codesign_certificate']
end
end