Commit 83af3e59 by Calen Pennington

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.
parent 6fe56ac9
require 'json' require 'json'
require 'rake/clean' require 'rake/clean'
require './rakefiles/helpers.rb' require './rakelib/helpers.rb'
Dir['rakefiles/*.rake'].each do |rakefile|
import rakefile
end
# Build Constants # Build Constants
REPO_ROOT = File.dirname(__FILE__) REPO_ROOT = File.dirname(__FILE__)
......
require './rakefiles/helpers.rb'
PREREQS_MD5_DIR = ENV["PREREQ_CACHE_DIR"] || File.join(REPO_ROOT, '.prereqs_cache') PREREQS_MD5_DIR = ENV["PREREQ_CACHE_DIR"] || File.join(REPO_ROOT, '.prereqs_cache')
CLOBBER.include(PREREQS_MD5_DIR) CLOBBER.include(PREREQS_MD5_DIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment