Sha256: 566a7ecb9ad9f170acf11e080039e5ed434c75571ce9708c8ebd9270429b4957
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
require 'rake/tasklib' def xbuild(name=:xbuild, *args, &block) Albacore::XBuildTask.new(name, *args, &block) end def mono(name=:mono, *args, &block) Albacore::XBuildTask.new(name, *args, &block) end module Albacore class XBuildTask < Albacore::AlbacoreTask def execute(name, task_args) @xbuild = XBuild.new @xbuild.load_config_by_task_name(name) @block.call(@xbuild, *task_args) unless @block.nil? @xbuild.build fail if @xbuild.failed end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.1.1 | lib/rake/xbuildtask.rb |
albacore-0.1.0 | lib/rake/xbuildtask.rb |