Sha256: b1ff7e84527588171b79a3ee2a41fe738db0ccb97fb30b1417bae040f0777a17
Contents?: true
Size: 612 Bytes
Versions: 1
Compression:
Stored size: 612 Bytes
Contents
module Motion::Project class Config variable :sparkle def sparkle(&block) @sparkle ||= Motion::Project::Sparkle.new(self) if block @sparkle.instance_eval &block end @sparkle end end class App class << self def build_with_sparkle(platform, opts = {}) if App.config.sparkle.setup_ok? App.info "Sparkle", "Setup OK" else exit 1 end build_without_sparkle(platform, opts) end alias_method "build_without_sparkle", "build" alias_method "build", "build_with_sparkle" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
motion-sparkle-0.0.6 | lib/motion/project/project.rb |