Sha256: 87ebd4a46c6717a59af83c176252b76bcaf250ad6f532bf3b25499f94ca923cc

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 Bytes

Contents

module Logirel::Tasks
  def msbuild_task opts={}

    task_name = inject_task_name opts, 'msbuild'

    append_to_file File.join(@root, BUILD_FILE), <<-EOF, :verbose => false

desc "build sln file"
msbuild #{ task_name }#{ inject_dependency opts } do |msb|
  msb.solution   = FILES[:sln]
  msb.properties :Configuration => CONFIGURATION
  msb.targets    :Clean, :Build
end

    EOF
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
logirel-0.1.6 lib/logirel/tasks/msbuild.rb
logirel-0.1.5 lib/logirel/tasks/msbuild.rb