Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop -c .rubocop.yml
run: bundle exec rubocop
1 change: 1 addition & 0 deletions lib/pliny/commands/creator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def run!

FileUtils.copy_entry template_dir, app_dir
FileUtils.rm_rf("#{app_dir}/.git")
FileUtils.mv("#{app_dir}/.rubocop_template.yml", "#{app_dir}/.rubocop.yml")
parse_erb_files
display "Pliny app created. To start, run:"
display "cd #{app_dir} && bin/setup"
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions spec/commands/creator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
@gen.run!
assert File.exist?("./foobar")
assert File.exist?("./foobar/Gemfile")
assert File.exist?("./foobar/.rubocop.yml")
end

it "deletes the .git from it" do
Expand Down