lib/minke/helpers.rb in minke-0.13.0 vs lib/minke/helpers.rb in minke-0.14.0
- old
+ new
@@ -26,11 +26,11 @@
end
def self.load_config config_file
@config = YAML.parse(ERB.new(File.read(config_file)).result).transform
- @config[:build_config] = Minke::Commands::Go.new.commands unless @config['language'] != 'go'
- @config[:build_config] = Minke::Commands::Swift.new.commands unless @config['language'] != 'swift'
+ @config[:build_config] = Minke::Commands::Go.new.commands(@config) unless @config['language'] != 'go'
+ @config[:build_config] = Minke::Commands::Swift.new.commands(@config) unless @config['language'] != 'swift'
end
def self.copy_files assets
assets.each do |a|
directory = a['to']