bake-toolkit 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/bake/cache.rb +10 -0
  2. data/lib/bake/version.rb +1 -1
  3. metadata +2 -2
data/lib/bake/cache.rb CHANGED
@@ -66,6 +66,16 @@ module Cxxproject
66
66
  end
67
67
  end
68
68
  end
69
+
70
+ if cache != nil
71
+ cache.project2config.each do |pname,config|
72
+ if not File.exists?(config.file_name)
73
+ Printer.printInfo "Info: meta file(s) renamed or deleted, reloading meta information"
74
+ cache = nil
75
+ @options.set_nocache # abs dir may wrong
76
+ end
77
+ end
78
+ end
69
79
 
70
80
  if cache != nil
71
81
  cache.files.each do |c|
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.3"
4
+ "1.0.4"
5
5
  end
6
6
  end
7
7
 
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.3
5
+ version: 1.0.4
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-01-04 00:00:00 Z
13
+ date: 2013-01-14 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cxxproject