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
7d134d94
Commit
7d134d94
authored
May 04, 2013
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bovi-gem-duplication'
parents
8d338334
d0f491d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
tasks/mrbgem_spec.rake
tasks/mrbgem_spec.rake
+24
-0
tasks/mruby_build.rake
tasks/mruby_build.rake
+1
-1
No files found.
tasks/mrbgem_spec.rake
View file @
7d134d94
...
...
@@ -169,6 +169,30 @@ module MRuby
end
end
# Specification
class
List
include
Enumerable
def
initialize
@ary
=
[]
end
def
each
(
&
b
)
@ary
.
each
(
&
b
)
end
def
<<
(
gem
)
unless
@ary
.
detect
{
|
g
|
g
.
dir
==
gem
.
dir
}
@ary
<<
gem
else
# GEM was already added to this list
end
end
def
empty?
@ary
.
empty?
end
end
# List
end
# Gem
GemBox
=
Object
.
new
...
...
tasks/mruby_build.rake
View file @
7d134d94
...
...
@@ -75,7 +75,7 @@ module MRuby
@mrbc
=
Command
::
Mrbc
.
new
(
self
)
@bins
=
%w(mrbc)
@gems
,
@libmruby
=
[]
,
[]
@gems
,
@libmruby
=
MRuby
::
Gem
::
List
.
new
,
[]
@build_mrbtest_lib_only
=
false
MRuby
.
targets
[
@name
]
=
self
...
...
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