Class: Nuget

Inherits:
Object
  • Object
show all
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
# 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?
    build_commands << "nuget pack #{nuspec_file}"
  end
  build_commands
end