Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
66802d92
Commit
66802d92
authored
Jun 13, 2014
by
take_cheeze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add document for `add_conflict` and `add_conflicts`.
parent
7275096f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
doc/mrbgems/README.md
doc/mrbgems/README.md
+15
-0
No files found.
doc/mrbgems/README.md
View file @
66802d92
...
...
@@ -161,6 +161,21 @@ Its format is same as argument of method `MRuby::Build#gem`, expect that it can'
When a special version of depedency is required,
use
`MRuby::Build#gem`
in
*build_config.rb*
to override default gem.
If you have conflicting GEMs use either or both of the following methods
*
`spec.add_conflict(gem, *requirements)`
*
The
`requirements`
argument is same as in
`add_dependency`
method.
*
`spec.add_conflicts(*conflicting_gems)`
like following code:
MRuby::Gem::Specification.new 'some-regexp-binding' do |spec|
spec.license = 'BSD'
spec.author = 'John Doe'
spec.add_conflict 'mruby-onig-regexp', '> 0.0.0'
spec.add_conflicts 'mruby-hs-regexp', 'mruby-pcre-regexp', 'mruby-regexp-pcre'
end
In case your GEM has more complex build requirements you can use
the following options additionally inside of your GEM specification:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment