.builders/generators/01-bootstrap.rb in k_starter-0.1.0 vs .builders/generators/01-bootstrap.rb in k_starter-0.1.1
- old
+ new
@@ -68,41 +68,41 @@
.npm_add_group('semver-ruby')
run_command("git add .; git commit -m 'chore: #{self.options.description.downcase}'; git push")
end
.blueprint(
- active: false,
+ active: true,
name: :opinionated,
description: 'opinionated GEM files',
on_exist: :write) do
cd(:app)
- add('bin/setup')
- add('bin/console')
+ # add('bin/setup')
+ # add('bin/console')
- add("lib/#{typed_dom.application}.rb" , template_file: 'lib/applet_name.rb' , dom: dom)
- add("lib/#{typed_dom.application}/version.rb" , template_file: 'lib/applet_name/version.rb' , dom: dom)
+ # add("lib/#{typed_dom.application}.rb" , template_file: 'lib/applet_name.rb' , dom: dom)
+ # add("lib/#{typed_dom.application}/version.rb" , template_file: 'lib/applet_name/version.rb' , dom: dom)
- add('spec/spec_helper.rb')
- add("spec/#{typed_dom.application}_spec.rb" , template_file: 'spec/applet_name_spec.rb', dom: dom)
+ # add('spec/spec_helper.rb')
+ # add("spec/#{typed_dom.application}_spec.rb" , template_file: 'spec/applet_name_spec.rb', dom: dom)
add("#{typed_dom.application}.gemspec" , template_file: 'applet_name.gemspec', dom: dom)
- add('Gemfile', dom: dom)
- add('Guardfile', dom: dom)
- add('Rakefile', dom: dom)
- add('.rspec', dom: dom)
- add('.rubocop.yml', dom: dom)
+ # add('Gemfile', dom: dom)
+ # add('Guardfile', dom: dom)
+ # add('Rakefile', dom: dom)
+ # add('.rspec', dom: dom)
+ # add('.rubocop.yml', dom: dom)
add('README.md', dom: dom)
- add('CODE_OF_CONDUCT.md', dom: dom)
- add('LICENSE.txt', dom: dom)
+ # add('CODE_OF_CONDUCT.md', dom: dom)
+ # add('LICENSE.txt', dom: dom)
- run_command("rubocop -a")
+ # run_command("rubocop -a")
run_command("git add .; git commit -m 'chore: #{self.options.description.downcase}'; git push")
end
.blueprint(
- active: true,
+ active: false,
name: :ci_cd,
description: 'github actions (CI/CD)',
on_exist: :write) do
cd(:app)