lib/tasks/build.rb in dev-2.0.172 vs lib/tasks/build.rb in dev-2.0.173

- old
+ new

@@ -3,10 +3,11 @@ desc 'performs build commands' task :build do Tasks.execute_task :build;end SLN_FILES=FileList.new('*.sln','*/*.sln','*/*/*.sln') NUGET_FILES=FileList.new('**/*.nuspec') +WXS_FILES=FileList.new('**/*.wxs') class Build < Array def update changed = true @@ -25,9 +26,18 @@ end } NUGET_FILES.each{|nuget_file| build_commands = Nuget.get_build_commands nuget_file + if(!build_commands.nil?) + build_commands.each{|c| + self.add c + } + end + } + + WXS_FILES.each{|wxs_file| + build_commands = Wix.get_build_commands wxs_file if(!build_commands.nil?) build_commands.each{|c| self.add c } end \ No newline at end of file