Sha256: eda086185f76acd4b17b22ee3eea76312c261cc727827036da32d0cfce16ff5e

Contents?: true

Size: 349 Bytes

Versions: 24

Compression:

Stored size: 349 Bytes

Contents

module Xcake
  # This class is used to hold a shell script build phase name
  # and script contents
  #
  class ShellScriptBuildPhase
    attr_accessor :name
    attr_accessor :script

    def generate_native_build_phase(target)
      phase = target.new_shell_script_build_phase(name)
      phase.shell_script = script
      phase
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
xcake-0.6.6 lib/xcake/shell_script_build_phase.rb
xcake-0.6.5 lib/xcake/shell_script_build_phase.rb
xcake-0.6.4 lib/xcake/shell_script_build_phase.rb
xcake-0.6.2 lib/xcake/shell_script_build_phase.rb