ledgerrb/Rakefile

28 lines
495 B
Text
Raw Permalink Normal View History

2015-01-20 16:12:16 +01:00
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