mirror of
https://github.com/safiire/n65.git
synced 2024-12-22 18:29:36 +00:00
c952f33d50
* Setup RSpec rake task and wrote spec for MemorySpace * Removed mintest rake task
17 lines
340 B
Ruby
17 lines
340 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'bundler/gem_tasks'
|
|
|
|
begin
|
|
require 'rspec/core/rake_task'
|
|
RSpec::Core::RakeTask.new(:spec)
|
|
task(default: :spec)
|
|
rescue LoadError
|
|
warn("Couldn't load RSpec gem")
|
|
end
|
|
|
|
# Check the syntax of all Ruby files
|
|
task :syntax do
|
|
sh 'find . -name *.rb -type f -exec ruby -c {} \; -exec echo {} \;'
|
|
end
|