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
9cf7d54b
Commit
9cf7d54b
authored
Apr 11, 2013
by
Masaki Muranaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move apps in gems to #{MRUBY_ROOT}/bin/ when apps is built for "host".
parent
1b4ad941
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
Rakefile
Rakefile
+12
-2
No files found.
Rakefile
View file @
9cf7d54b
...
@@ -47,7 +47,7 @@ depfiles = MRuby.targets['host'].bins.map do |bin|
...
@@ -47,7 +47,7 @@ depfiles = MRuby.targets['host'].bins.map do |bin|
install_path
install_path
end
end
MRuby
.
each_target
do
MRuby
.
each_target
do
|
target
|
gems
.
map
do
|
gem
|
gems
.
map
do
|
gem
|
current_dir
=
gem
.
dir
.
relative_path_from
(
Dir
.
pwd
)
current_dir
=
gem
.
dir
.
relative_path_from
(
Dir
.
pwd
)
relative_from_root
=
gem
.
dir
.
relative_path_from
(
MRUBY_ROOT
)
relative_from_root
=
gem
.
dir
.
relative_path_from
(
MRUBY_ROOT
)
...
@@ -66,7 +66,17 @@ MRuby.each_target do
...
@@ -66,7 +66,17 @@ MRuby.each_target do
linker
.
run
t
.
name
,
t
.
prerequisites
,
gem_libraries
,
gem_library_paths
,
gem_flags
,
gem_flags_before_libraries
linker
.
run
t
.
name
,
t
.
prerequisites
,
gem_libraries
,
gem_library_paths
,
gem_flags
,
gem_flags_before_libraries
end
end
depfiles
+=
[
exec
]
if
target
==
MRuby
.
targets
[
'host'
]
install_path
=
MRuby
.
targets
[
'host'
].
exefile
(
"
#{
MRUBY_ROOT
}
/bin/
#{
bin
}
"
)
file
install_path
=>
exec
do
|
t
|
FileUtils
.
rm_f
t
.
name
,
{
:verbose
=>
$verbose
}
FileUtils
.
cp
t
.
prerequisites
.
first
,
t
.
name
,
{
:verbose
=>
$verbose
}
end
depfiles
+=
[
install_path
]
else
depfiles
+=
[
exec
]
end
end
end
end
end
end
end
...
...
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