dev_commands 0.0.43 → 0.0.44

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/build.rb +6 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 23ec124da5f1e6edae2cbde3c9438b078e3b9b84
4
- data.tar.gz: b866693c26aaae219fd199a1d90802d46dbfa0f1
3
+ metadata.gz: 060e7fd015c718fe28fb95dc1d3876a1ba9bcba2
4
+ data.tar.gz: 3ee4ddcd0c4e236b701bb6d0e9d11daf27935ff1
5
5
  SHA512:
6
- metadata.gz: 496701006440b0b78dece22ccf3fbe2f2c39ba256fd92306c1de16655e6840ca04147a4757f67817ef079c12eb96794a5edb5e19fe936381c896849b2d706fe2
7
- data.tar.gz: d65b9ee1bd92dcf46b7382fe821526313d23331520b543555ce778d727edce4dbf33ca71aa09f0c64dc15884c72b56174ea7ff25f1866eeb3815893432a8773a
6
+ metadata.gz: 7980394753bf505cc41bc56fe358287265cde882720b6d1e44a01f89ccb69953620c269e8360ec4531186a198ddc031165ad46d3e25e953899ad1bf0154c1a66
7
+ data.tar.gz: 8f0c91edfd4c42e488c36b6291e4166566c9fa2ccee273b6e9e718e771e1140cc8fdd4cf7e7358e7e6ce296828fafb79ecf34b1dc67707abce4ee9d29e7e9a7d
data/lib/build.rb CHANGED
@@ -1,5 +1,9 @@
1
1
  require_relative('msbuild.rb')
2
2
  require_relative('gemspec.rb')
3
+ require 'rake'
4
+
5
+ SLN_FILES=FileList.new('*.sln','*/*.sln')
6
+
3
7
  class Build < Array
4
8
  def update
5
9
 
@@ -10,10 +14,8 @@ class Build < Array
10
14
  Dir.glob('*.gemspec'){|gemspec|
11
15
  add "gem build #{gemspec}" if !File.exist?(Gemspec.gemfile gemspec)
12
16
  }
13
- sln_files=[]
14
- sln_files << Dir.glob('*.sln')
15
- sln_files << Dir.glob('*/*.sln')
16
- sln_files{|sln_file|
17
+
18
+ SLN_FILES.each{|sln_file|
17
19
  vs_version=MSBuild.get_vs_version(sln_file)
18
20
  if(MSBuild.has_version?(vs_version))
19
21
  MSBuild.get_configurations(sln_file).each{ |configuration|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_commands
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.43
4
+ version: 0.0.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow