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:
6
rakefile
6
rakefile
@@ -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__)
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user