Commit 4e4b1d2b74cba2312380c45b34159adb55b9035a
1 parent
23a7805f
Exists in
r5_design
and in
1 other branch
Load a local rakefile to set chake options
Showing
3 changed files
with
9 additions
and
0 deletions
Show diff stats
.gitignore
Rakefile
| @@ -12,6 +12,12 @@ if Chake::VERSION < '0.4' | @@ -12,6 +12,12 @@ if Chake::VERSION < '0.4' | ||
| 12 | fail "Please upgrade to chake 0.4+" | 12 | fail "Please upgrade to chake 0.4+" |
| 13 | end | 13 | end |
| 14 | 14 | ||
| 15 | +begin | ||
| 16 | + load 'local.rake' | ||
| 17 | +rescue LoadError | ||
| 18 | + # nothing | ||
| 19 | +end | ||
| 20 | + | ||
| 15 | config = YAML.load_file(config_file) | 21 | config = YAML.load_file(config_file) |
| 16 | ips = YAML.load_file(ips_file) | 22 | ips = YAML.load_file(ips_file) |
| 17 | $nodes.each do |node| | 23 | $nodes.each do |node| |