n65/Rakefile

17 lines
340 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
2016-03-05 01:10:27 +00:00
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")
2016-03-05 01:10:27 +00:00
end
2015-03-31 09:40:12 +00:00
# Check the syntax of all Ruby files
task :syntax do
sh 'find . -name *.rb -type f -exec ruby -c {} \; -exec echo {} \;'
end