Initial project structure with some barebones layout, CSS and JS from game-data
This commit is contained in:
23
Rakefile
Normal file
23
Rakefile
Normal file
@@ -0,0 +1,23 @@
|
||||
require 'bundler/setup'
|
||||
|
||||
namespace :server do
|
||||
task :start do
|
||||
ENV['RACK_ENV'] = 'production'
|
||||
system("puma")
|
||||
end
|
||||
|
||||
task :dev do
|
||||
system('rerun --no-notify --dir="src/" puma')
|
||||
end
|
||||
end
|
||||
|
||||
namespace :test do
|
||||
task :unit do
|
||||
ENV['RACK_ENV'] = 'testing'
|
||||
system("rspec")
|
||||
end
|
||||
|
||||
task :lint do
|
||||
system("rubocop src/ spec/")
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user