diff options
| author | Seba Gamboa <[email protected]> | 2015-09-09 13:33:42 -0300 |
|---|---|---|
| committer | Seba Gamboa <[email protected]> | 2015-09-09 13:33:42 -0300 |
| commit | 803f11e001d9ab6aed37b3c8601db827d605b46a (patch) | |
| tree | 053277681deefbac7f69fcd55514cc985783b2f0 /tasks | |
| parent | 1cbbb7e11c02d381a6b76aeebae8db0f54ae9baf (diff) | |
| download | mruby-803f11e001d9ab6aed37b3c8601db827d605b46a.tar.gz mruby-803f11e001d9ab6aed37b3c8601db827d605b46a.zip | |
Add test dependencies
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/mrbgem_spec.rake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake index 74aa5b817..f6fe1fee4 100644 --- a/tasks/mrbgem_spec.rake +++ b/tasks/mrbgem_spec.rake @@ -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 |
