Sha256: 9f7e95614cc52998fc7cd6f23107bc096fc4c0b3a5b2ea23059fd56c54116517

Contents?: true

Size: 470 Bytes

Versions: 3

Compression:

Stored size: 470 Bytes

Contents

module Logirel::Tasks
  def msbuild_task(sln_file_path = nil, opts={})
    #sln_file_path = tuck_and_get :sln_file_path, sln_file_path

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

desc "build sln file"
nugetpack #{ inject_task_name opts, 'msbuild' }#{ inject_dependency opts } do |msb|
   msb.solution   = "#{sln_file_path}"
   msb.properties :Configuration => :Debug
   msb.targets    :Clean, :Build
end
    EOF
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
logirel-0.1.3 lib/logirel/tasks/msbuild.rb
logirel-0.1.2 lib/logirel/tasks/msbuild.rb
logirel-0.1.1 lib/logirel/tasks/msbuild.rb