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
9968af45
Commit
9968af45
authored
Mar 02, 2014
by
take_cheeze
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow command like "ccache gcc"
parent
873fae9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
tasks/mruby_build_commands.rake
tasks/mruby_build_commands.rake
+9
-1
No files found.
tasks/mruby_build_commands.rake
View file @
9968af45
...
...
@@ -24,9 +24,17 @@ module MRuby
target
end
NotFoundCommands
=
{}
private
def
_run
(
options
,
params
=
{})
sh
build
.
filename
(
command
)
+
' '
+
(
options
%
params
)
return
sh
command
+
' '
+
(
options
%
params
)
if
NotFoundCommands
.
key?
@command
begin
sh
build
.
filename
(
command
)
+
' '
+
(
options
%
params
)
rescue
RuntimeError
NotFoundCommands
[
@command
]
=
true
_run
options
,
params
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