lib/tasks/build.rb in dev-2.1.55 vs lib/tasks/build.rb in dev-2.1.56
- old
+ new
@@ -4,11 +4,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')
SMARTASSEMBLY_FILES=FileList.new('**/*.saproj')
class Build < Array
def update
@@ -17,11 +17,11 @@
update_gemspec
update_dotnet
update_sln if Environment.windows?
update_smartassembly if Environment.windows?
- update_nuget if Environment.windows?
+ #update_nuget if Environment.windows?
update_wix if Environment.windows?
update_xcode if Environment.mac?
if(Environment.default.debug?)
puts "Build commands: #{self.to_s}"
@@ -70,20 +70,10 @@
add_quiet("\"#{sa}\" /build #{saproj_file}")
end
}
end
- def update_nuget
- puts "Build scanning for nuget files" if Environment.default.debug?
- NUGET_FILES.each{|nuget_file|
- build_commands = Nuget.get_build_commands nuget_file
- if(!build_commands.nil?)
- build_commands.each{|c|
- add_quiet(c)
- }
- end
- }
- end
+
def update_wix
puts "Build scanning for wxs <Product> files" if Environment.default.debug?
WXS_FILES.each{|wxs_file|
if(IO.read(wxs_file).include?('<Product'))
\ No newline at end of file