Class: Package
Instance Attribute Summary
Attributes inherited from Array
Instance Method Summary collapse
Methods inherited from Array
#add, #add_passive, #add_quiet, #execute, #has_command?, #initialize, #log_debug_info, #to_html
Constructor Details
This class inherits a constructor from Array
Instance Method Details
#update ⇒ Object
11 12 13 |
# File 'lib/tasks/package.rb', line 11 def update update_nuget if Environment.windows? end |
#update_nuget ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/tasks/package.rb', line 14 def update_nuget puts "Package scanning for nuget files" if Environment.default.debug? NUGET_FILES.each{|nuget_file| if(!nuget_file.include?('/obj/')) package_commands = Nuget.get_build_commands nuget_file if(!package_commands.nil?) package_commands.each{|c| add_passive(c) } end end } end |