ledgerrb/Rakefile
Gwenhael Le Moine 2f33a0b432 Added rake
2015-01-20 16:12:16 +01:00

27 lines
495 B
Ruby

require "bundler"
require 'rake'
require 'rake/clean'
include Rake::DSL
# All the bacon specifications
PROJECT_SPECS = Dir.glob(File.expand_path('../spec/**/*.rb', __FILE__))
PROJECT_SPECS.reject! { |e| e =~ /helper\.rb/ }
PROJECT_SPECS.reject! { |e| e =~ /init\.rb/ }
CLEAN.include %w[
**/.*.sw?
*.gem
.config
**/*~
**/{vttroute-*.db,cache.yaml}
*.yaml
pkg
rdoc
public/doc
*coverage*
]
Dir.glob(File.expand_path('../tasks/*.rake', __FILE__)).each do |f|
import(f)
end