dev 1.0.73 → 1.0.74

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.
Files changed (2) hide show
  1. data/lib/dev/Project.rb +6 -3
  2. metadata +1 -1
@@ -378,19 +378,22 @@ class Project < Hash
378
378
  if(!has_key?(:any_release_compile_flags))
379
379
  self[:any_release_compile_flags]="/property:Configuration=Release /property:Platform=\"Any CPU\" /p:OutputPath=./bin/Release"
380
380
  end
381
- array<<"<paths,msbuild> #{cs} <any_release_compile_flags>"
381
+ array<<"<paths,msbuild> #{cs} <any_release_compile_flags>" if RUBY_PLATFORM.include?("w32")
382
+ array<<"xbuild #{cs} <any_release_compile_flags>" if !RUBY_PLATFORM.include?("w32")
382
383
  end
383
384
  if(platform=="x86")
384
385
  if(!has_key?(:x86_release_compile_flags))
385
386
  self[:x86_release_compile_flags]="/property:Configuration=Release /property:Platform=\"x86\" /p:OutputPath=./bin/x86/Release"
386
387
  end
387
- array<<"<paths,msbuild> #{cs} <x86_release_compile_flags>"
388
+ array<<"<paths,msbuild> #{cs} <x86_release_compile_flags>" if RUBY_PLATFORM.include?("w32")
389
+ array<<"xbuild #{cs} <x86_release_compile_flags>" if !RUBY_PLATFORM.include?("w32")
388
390
  end
389
391
  if(platform=="x64")
390
392
  if(!has_key?(:x64_release_compile_flags))
391
393
  self[:x64_release_compile_flags]="/property:Configuration=Release /property:Platform=\"x64\" /p:OutputPath=./bin/x64/Release"
392
394
  end
393
- array<<"<paths,msbuild> #{cs} <x64_release_compile_flags>"
395
+ array<<"<paths,msbuild> #{cs} <x64_release_compile_flags>" if RUBY_PLATFORM.include?("w32")
396
+ array<<"xbuild #{cs} <x64_release_compile_flags>" if !RUBY_PLATFORM.include?("w32")
394
397
  end
395
398
  }
396
399
  }
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: 1.0.73
4
+ version: 1.0.74
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: