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
fcc9b7fc
Unverified
Commit
fcc9b7fc
authored
Dec 19, 2020
by
Yukihiro "Matz" Matsumoto
Committed by
GitHub
Dec 19, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5230 from dearblue/mruby-config.2
Ignore `mruby-bin-config` in cross-building
parents
340f1f00
36376eba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lib/mruby/build.rb
lib/mruby/build.rb
+2
-1
mrbgems/mruby-bin-config/mrbgem.rake
mrbgems/mruby-bin-config/mrbgem.rake
+5
-1
No files found.
lib/mruby/build.rb
View file @
fcc9b7fc
...
...
@@ -116,9 +116,10 @@ module MRuby
@toolchains
=
[]
@gem_dir_to_repo_url
=
{}
MRuby
.
targets
[
@name
]
=
self
.
class
.
current
=
current
=
self
MRuby
.
targets
[
@name
]
=
current
=
self
end
MRuby
::
Build
.
current
=
current
current
.
instance_eval
(
&
block
)
current
.
build_mrbc_exec
if
current
.
libmruby_enabled?
&&
@name
==
"host"
current
.
build_mrbtest
if
current
.
test_enabled?
...
...
mrbgems/mruby-bin-config/mrbgem.rake
View file @
fcc9b7fc
unless
MRuby
::
Build
.
current
.
kind_of?
(
MRuby
::
CrossBuild
)
if
MRuby
::
Build
.
current
.
kind_of?
(
MRuby
::
CrossBuild
)
gemname
=
File
.
basename
File
.
dirname
__FILE__
buildname
=
MRuby
::
Build
.
current
.
name
$stderr
.
puts
"WARN
#{
gemname
}
- This mrbgem is ignored within
#{
buildname
}
"
else
MRuby
::
Gem
::
Specification
.
new
(
'mruby-bin-config'
)
do
|
spec
|
name
=
'mruby-config'
spec
.
license
=
'MIT'
...
...
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