dev 2.0.157 → 2.0.158

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8899d185ac5a0ac0201005757add9089b00d3699
4
- data.tar.gz: fab065d2ef2d3c977100f7012588e3d90a7a9ee7
3
+ metadata.gz: b2a08a37ac39318e202926d4936943d7b03ba263
4
+ data.tar.gz: e4a3781754918c0798756f02fd7406b655dbf5fc
5
5
  SHA512:
6
- metadata.gz: 09b648d19f6ce8fbe71821474c19d88b06b4283a769165f6df5b47535c2dc7c6b2dedd6ac3cb8fe4e72f4646778cffdffb664d8e764756cf7f90b61faf97c383
7
- data.tar.gz: 627b78f3d0be2be2c5ec67b72a4095234e780550d959379bc494a0f2fdb8e468b2a6944e69c3fbb3303e4b31ab41e430e87ec50053a68ee43afaefca4e0f3b8f
6
+ metadata.gz: e10fb2769c387563e8fb2968b05e6046d452f8cfc6706a67465f4e3f685c470991f716074cd9009198d9d56cab78a2a8d5c6e8f413742182d036352ac628b50b
7
+ data.tar.gz: 87687c61d7b0fe267c7396ebe45848b679ecf6256dcb4403affddc2c567d1a77195d3fb3d185e3a407f95a033b3e36788b41aaab622b2ae9c3a0d5e2a5c6816a
@@ -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} /#{platform_arg}"
91
+ build_commands << "#{msbuild_arg} #{sln_arg} /nologo /p:Configuration=#{configuration} #{platform_arg}"
92
92
  }
93
93
  }
94
94
  end
@@ -15,18 +15,25 @@ class Build < Array
15
15
  }
16
16
 
17
17
  SLN_FILES.each{|sln_file|
18
- vs_version=MSBuild.get_vs_version(sln_file)
19
- if(MSBuild.has_version?(vs_version))
20
- MSBuild.get_configurations(sln_file).each{ |configuration|
21
- MSBuild.get_platforms(sln_file).each{|platform|
22
- #Console.debug "configuration='#{configuration}', platform='#{platform}'"
23
- self.add "\"#{MSBuild.get_version(vs_version)}\" \"#{sln_file}\" /nologo /p:Configuration=#{configuration} /p:Platform=\"#{platform}\""
24
- }
25
- }
26
- else
27
- puts "version #{vs_version} not found for MsBuild"
28
- puts "MSBUILD[:#{vs_version}]='PATH_TO_MSBUILD' may be used to specify msbuild path."
29
- end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.157
4
+ version: 2.0.158
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow