Sha256: b8ea1d20285e5c2a3d5890840bc7a2671bd4fa2f0db2a716ffe854a41a40cc3c
Contents?: true
Size: 355 Bytes
Versions: 27
Compression:
Stored size: 355 Bytes
Contents
require 'bake/modernize' def editorconfig update(root: Dir.pwd) end def update(root:) editorconfig_path = File.expand_path(".editorconfig", root) if File.exist?(editorconfig_path) FileUtils.rm_rf(editorconfig_path) end template_root = Bake::Modernize.template_path_for('editorconfig') Bake::Modernize.copy_template(template_root, root) end
Version data entries
27 entries across 27 versions & 1 rubygems