Sha256: e4b5164d712ac487170b18248fd08e429983cd115b14dcecd3eff2b26396023b
Contents?: true
Size: 428 Bytes
Versions: 1
Compression:
Stored size: 428 Bytes
Contents
# Released under the MIT License. # Copyright, 2020, by Samuel Williams. 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bake-modernize-0.13.0 | bake/modernize/editorconfig.rb |