Skip to content

Commit 7c47766

Browse files
committed
Update Rakefile
1 parent 185c2ba commit 7c47766

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

Rakefile

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
# frozen_string_literal: true
22

33
require 'bundler/gem_tasks'
4-
require 'rspec/core/rake_task'
54

6-
RSpec::Core::RakeTask.new(:spec)
5+
task default: :test
76

8-
task default: :spec
7+
desc 'Run tests'
8+
task :test do
9+
exec 'bundle exec rspec'
10+
end
11+
12+
desc 'Run ruby linter'
13+
task :lint do
14+
exec 'bundle exec rubocop'
15+
end
16+
17+
desc 'Enter Guard session'
18+
task :guard do
19+
exec 'bundle exec guard'
20+
end

0 commit comments

Comments
 (0)