1
0
mirror of https://github.com/safiire/n65.git synced 2024-12-22 18:29:36 +00:00
n65/Rakefile
Saf c952f33d50
Setup RSpec rake task and wrote spec for MemorySpace (#2)
* Setup RSpec rake task and wrote spec for MemorySpace

* Removed mintest rake task
2020-08-30 16:11:54 -07:00

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