dev 1.0.62 → 1.0.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dev/Project.rb +5 -3
  2. metadata +1 -1
@@ -367,20 +367,22 @@ class Project < Hash
367
367
  } if self[:type]=="gem"
368
368
 
369
369
  Dir.glob("*.csproj").each{|cs|
370
- extract_platforms(cs).each{ |platform|
370
+ platforms = extract_platforms(cs)
371
+ platforms = ["AnyCPU"] if platforms.nil?
372
+ platforms.each{ |platform|
371
373
  if(platform=="AnyCPU")
372
374
  if(!has_key?(:any_release_compile_flags))
373
375
  self[:any_release_compile_flags]="/property:Configuration=Release /property:Platform=\"Any CPU\" /p:OutputPath=./bin/x86/Release"
374
376
  end
375
377
  array<<"<paths,msbuild> #{cs} <any_release_compile_flags>"
376
378
  end
377
- if(platform="x86")
379
+ if(platform=="x86")
378
380
  if(!has_key?(:x86_release_compile_flags))
379
381
  self[:x86_release_compile_flags]="/property:Configuration=Release /property:Platform=\"x86\" /p:OutputPath=./bin/x86/Release"
380
382
  end
381
383
  array<<"<paths,msbuild> #{cs} <x86_release_compile_flags>"
382
384
  end
383
- if(platform="x64")
385
+ if(platform=="x64")
384
386
  if(!has_key?(:x64_release_compile_flags))
385
387
  self[:x64_release_compile_flags]="/property:Configuration=Release /property:Platform=\"x64\" /p:OutputPath=./bin/x86/Release"
386
388
  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: 1.0.62
4
+ version: 1.0.63
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: