Sha256: ff14c4eb8ee1470c662d560aa99ba12986a20334019f73340ae8c5b6c5700dcd

Contents?: true

Size: 260 Bytes

Versions: 8

Compression:

Stored size: 260 Bytes

Contents

require 'xcodeproj'

module Xcake
  class Target
    def shell_script_build_phase(name, script)
      phase = ShellScriptBuildPhase.new
      phase.name = name
      phase.script = script.strip_heredoc
      build_phases << phase
      phase
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcake-0.7.1 lib/xcake/target/sugar.rb
xcake-0.7.0 lib/xcake/target/sugar.rb
xcake-0.6.25 lib/xcake/target/sugar.rb
xcake-0.6.24 lib/xcake/target/sugar.rb
xcake-0.6.23 lib/xcake/target/sugar.rb
xcake-0.6.22 lib/xcake/target/sugar.rb
xcake-0.6.21 lib/xcake/target/sugar.rb
xcake-0.6.20 lib/xcake/target/sugar.rb