Sha256: 1686d98eab2b2887bcd9234a87c71b86060f8e1a572f8f769c9fe4f8e373efe1
Contents?: true
Size: 746 Bytes
Versions: 4
Compression:
Stored size: 746 Bytes
Contents
module BubbleWrap module Ext module BuildTask def self.extended(base) base.instance_eval do def setup_with_bubblewrap(&block) bw_config = proc do |app| app.files = ::BubbleWrap::Requirement.files(app.files) app.files_dependencies ::BubbleWrap::Requirement.files_dependencies app.frameworks = ::BubbleWrap::Requirement.frameworks(app.frameworks) block.call(app) unless block.nil? end config.setup_blocks << bw_config end alias :setup_without_bubblewrap :setup alias :setup :setup_with_bubblewrap end end end end end Motion::Project::App.extend(BubbleWrap::Ext::BuildTask)
Version data entries
4 entries across 4 versions & 1 rubygems