summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorUchio KONDO <[email protected]>2016-06-14 16:37:06 +0900
committerGitHub <[email protected]>2016-06-14 16:37:06 +0900
commit481aa31f93ba4d349be8a8e8964b419777295d1c (patch)
tree8341796506184b576fc1678757e1401d23d2be09 /doc
parent09b11850a5df44d8e0ba5d031c57146e0c41547b (diff)
downloadmruby-481aa31f93ba4d349be8a8e8964b419777295d1c.tar.gz
mruby-481aa31f93ba4d349be8a8e8964b419777295d1c.zip
Update doc, write about add_test_dependency
Diffstat (limited to 'doc')
-rw-r--r--doc/guides/mrbgems.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/guides/mrbgems.md b/doc/guides/mrbgems.md
index f75231f71..258f405b5 100644
--- a/doc/guides/mrbgems.md
+++ b/doc/guides/mrbgems.md
@@ -153,6 +153,9 @@ MRuby::Gem::Specification.new('c_and_ruby_extension_example') do |spec|
# Use latest mruby-onig-regexp from github. (version requirements can be omitted)
spec.add_dependency('mruby-onig-regexp', :github => 'mattn/mruby-onig-regexp')
+
+ # You can add extra mgems active only on test
+ spec.add_test_dependency('mruby-process', :github => 'iij/mruby-process')
end
```