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.
- checksums.yaml +4 -4
- data/lib/build.rb +6 -4
- 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: 060e7fd015c718fe28fb95dc1d3876a1ba9bcba2
|
4
|
+
data.tar.gz: 3ee4ddcd0c4e236b701bb6d0e9d11daf27935ff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
14
|
-
|
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|
|