dev 1.0.154 → 1.0.155

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/cmd/Setup.rb +5 -5
  2. metadata +1 -1
data/lib/dev/cmd/Setup.rb CHANGED
@@ -13,11 +13,11 @@ class Setup < Array
13
13
  end
14
14
  }
15
15
 
16
- if(!Dir.glob("*.csproj").nil? && Dir.glob("*.csproj").length > 0)
17
- self << "{:cmd=>\"<%Dir.mkdir 'bin' unless File.exist?('bin')%>\", :auto=>true}"
18
- self << "{:cmd=>\"<%Dir.mkdir 'bin/Debug' unless File.exist?('bin/Debug')%>\", :auto=>true}"
19
- self << "{:cmd=>\"<%Dir.mkdir 'bin/Release' unless File.exist?('bin/Release')%>\", :auto=>true}"
20
- end
16
+ Dir.glob("**/*.csproj").each { |f|
17
+ Dir.mkdir "#{File.dirname(f)}/bin" unless File.exist?("#{File.dirname(f)}/bin")
18
+ Dir.mkdir "#{File.dirname(f)}/bin/Debug" unless File.exist?("#{File.dirname(f)}/bin/Debug")
19
+ Dir.mkdir "#{File.dirname(f)}/bin/Release" unless File.exist?("#{File.dirname(f)}/bin/Release")
20
+ }
21
21
  end
22
22
 
23
23
  end # class Setup
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.154
4
+ version: 1.0.155
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: