Skip to content

Commit

Permalink
Add Version and Repo Root Values to Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
awood45 committed Mar 17, 2015
1 parent fef35b9 commit 6c22efd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
require "bundler/gem_tasks"
require 'rake/testtask'

$REPO_ROOT = File.dirname(__FILE__)
$VERSION = ENV['VERSION'] || File.read(File.join($REPO_ROOT, 'VERSION')).strip

Dir.glob('**/*.rake').each do |task_file|
load task_file
end
Expand Down

0 comments on commit 6c22efd

Please sign in to comment.