bake-toolkit 1.0.15 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
data/bin/bakery CHANGED
@@ -76,7 +76,7 @@ module Cxxproject
76
76
  excludeParam = true
77
77
  next
78
78
  end
79
- if excludeParam or x == @options.collection_name
79
+ if excludeParam
80
80
  excludeParam = false
81
81
  next
82
82
  end
@@ -113,7 +113,7 @@ module Cxxproject
113
113
  runOk = false
114
114
  end
115
115
  rescue Exception => e
116
- puts e.message
116
+ puts e.message if e.message != "Cxxproject::ExitHelperException"
117
117
  runOk = false
118
118
  end
119
119
 
data/lib/bake/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Cxxproject
2
2
  class Version
3
3
  def self.bake
4
- "1.0.15"
4
+ "1.0.16"
5
5
  end
6
6
  end
7
7
 
@@ -46,7 +46,10 @@ module Cxxproject
46
46
  def parse_options()
47
47
  parse_internal(true)
48
48
  set_collection_dir(Dir.pwd) if @collection_dir.nil?
49
- @roots << @def_root if @roots.length == 0
49
+ if @roots.length == 0
50
+ @roots << @def_root
51
+ @roots << @collection_dir if @def_root != @collection_dir
52
+ end
50
53
  end
51
54
 
52
55
  def check_valid_dir(dir)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bake-toolkit
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.15
5
+ version: 1.0.16
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alexander Schaal
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-04-19 00:00:00 Z
13
+ date: 2013-04-22 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cxxproject