bin/dw in dev_flow-0.6.1 vs bin/dw in dev_flow-0.6.2
- old
+ new
@@ -38,12 +38,13 @@
options[:local_config] = '.dev_flow'
opts.on('-l FILE', '--local-config FILE', 'use an other local configuration file') do |lc|
options[:local_config] = lc
end
+ options[:members_file] = '../members.yml' if File.exists? ('../members.yml')
options[:members_file] = 'members.yml' if File.exists? ('members.yml')
options[:members_file] = 'config/members.yml' if File.exists? ('config/members.yml')
- options[:members_file] = '../members.yml' if File.exists? ('../members.yml')
+
opts.on('-m FILE', '--members_file FILE', 'use an other members file') do |mf|
options[:members_file] = mf
raise "the specified members file #{mf} is not exists." unless File.exists? mf
end