Use built-in rakelibdir feature

Rake by default imports all .rake files in the rakelib dir, so we can
use that rather than doing our own import loop.
This commit is contained in:
Calen Pennington
2013-06-17 13:49:40 -04:00
parent 6fe56ac9f7
commit 83af3e594f
13 changed files with 1 additions and 7 deletions

View File

@@ -1,10 +1,6 @@
require 'json'
require 'rake/clean'
require './rakefiles/helpers.rb'
Dir['rakefiles/*.rake'].each do |rakefile|
import rakefile
end
require './rakelib/helpers.rb'
# Build Constants
REPO_ROOT = File.dirname(__FILE__)

View File

@@ -1,5 +1,3 @@
require './rakefiles/helpers.rb'
PREREQS_MD5_DIR = ENV["PREREQ_CACHE_DIR"] || File.join(REPO_ROOT, '.prereqs_cache')
CLOBBER.include(PREREQS_MD5_DIR)