Class: Nuget
- Inherits:
-
Object
- Object
- Nuget
- Defined in:
- lib/apps/nuget.rb
Class Method Summary collapse
Class Method Details
.get_build_commands(nuspec_file) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/apps/nuget.rb', line 4 def self.get_build_commands nuspec_file build_commands=nil if(File.exists?(nuspec_file)) build_commands=Array.new if build_commands.nil? if(defined?(INCLUDE_REFERENCED_PROJECTS)) build_commands << "nuget pack #{nuspec_file} -IncludeReferencedProjects" else build_commands << "nuget pack #{nuspec_file}" end end build_commands end |