lib/minke/helpers.rb in minke-0.12.0 vs lib/minke/helpers.rb in minke-0.13.0
- old
+ new
@@ -25,9 +25,12 @@
end
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'
end
def self.copy_files assets
assets.each do |a|
directory = a['to']