dev 2.0.157 → 2.0.158
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apps/msbuild.rb +1 -1
- data/lib/tasks/build.rb +19 -12
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2a08a37ac39318e202926d4936943d7b03ba263
|
4
|
+
data.tar.gz: e4a3781754918c0798756f02fd7406b655dbf5fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e10fb2769c387563e8fb2968b05e6046d452f8cfc6706a67465f4e3f685c470991f716074cd9009198d9d56cab78a2a8d5c6e8f413742182d036352ac628b50b
|
7
|
+
data.tar.gz: 87687c61d7b0fe267c7396ebe45848b679ecf6256dcb4403affddc2c567d1a77195d3fb3d185e3a407f95a033b3e36788b41aaab622b2ae9c3a0d5e2a5c6816a
|
data/lib/apps/msbuild.rb
CHANGED
@@ -88,7 +88,7 @@ class MSBuild < Hash
|
|
88
88
|
sln_arg="\"#{sln_filename}\"" if sln_filename.include?(' ')
|
89
89
|
platform_arg="/p:Platform=#{platform}"
|
90
90
|
platform_arg="/p:Platform=\"#{platform}\"" if platform.include?(' ')
|
91
|
-
build_commands << "#{msbuild_arg} #{sln_arg} /nologo /p:Configuration=#{configuration}
|
91
|
+
build_commands << "#{msbuild_arg} #{sln_arg} /nologo /p:Configuration=#{configuration} #{platform_arg}"
|
92
92
|
}
|
93
93
|
}
|
94
94
|
end
|
data/lib/tasks/build.rb
CHANGED
@@ -15,18 +15,25 @@ class Build < Array
|
|
15
15
|
}
|
16
16
|
|
17
17
|
SLN_FILES.each{|sln_file|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
18
|
+
|
19
|
+
build_commands = MSBuild.get_build_commands sln_file
|
20
|
+
if(!build_commands.nil?)
|
21
|
+
build_commands.each{|c|
|
22
|
+
self.add c
|
23
|
+
}
|
24
|
+
end
|
25
|
+
#vs_version=MSBuild.get_vs_version(sln_file)
|
26
|
+
#if(MSBuild.has_version?(vs_version))
|
27
|
+
# MSBuild.get_configurations(sln_file).each{ |configuration|
|
28
|
+
# MSBuild.get_platforms(sln_file).each{|platform|
|
29
|
+
# #Console.debug "configuration='#{configuration}', platform='#{platform}'"
|
30
|
+
# self.add "\"#{MSBuild.get_version(vs_version)}\" \"#{sln_file}\" /nologo /p:Configuration=#{configuration} /p:Platform=\"#{platform}\""
|
31
|
+
# }
|
32
|
+
# }
|
33
|
+
#else
|
34
|
+
# puts "version #{vs_version} not found for MsBuild"
|
35
|
+
# puts "MSBUILD[:#{vs_version}]='PATH_TO_MSBUILD' may be used to specify msbuild path."
|
36
|
+
#end
|
30
37
|
}
|
31
38
|
end
|
32
39
|
end
|