16 lines
211 B
Ruby
16 lines
211 B
Ruby
|
require 'bundler/setup'
|
||
|
|
||
|
task :run do
|
||
|
system("ruby src/pchwbm.rb")
|
||
|
end
|
||
|
|
||
|
namespace :test do
|
||
|
task :all do
|
||
|
Rake::Task['test:rubocop'].invoke()
|
||
|
end
|
||
|
|
||
|
task :rubocop do
|
||
|
system("rubocop src/")
|
||
|
end
|
||
|
end
|