Skip to content

Commit

Permalink
Add test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sagmor committed Sep 9, 2015
1 parent 1cbbb7e commit 803f11e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/mrbgem_spec.rake
Expand Up @@ -103,6 +103,10 @@ module MRuby
@dependencies << {:gem => name, :requirements => requirements, :default => default_gem}
end

def add_test_dependency(*args)
add_dependency(*args) if build.test_enabled?
end

def add_conflict(name, *req)
@conflicts << {:gem => name, :requirements => req.empty? ? nil : req}
end
Expand Down

0 comments on commit 803f11e

Please sign in to comment.