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
a4402590
Commit
a4402590
authored
Feb 28, 2013
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #911 from bovi/verbose
Rake respects verbose flag also for test and clean target
parents
e4e7f705
bdd908c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Rakefile
Rakefile
+3
-4
tasks/mruby_build.rake
tasks/mruby_build.rake
+1
-1
No files found.
Rakefile
View file @
a4402590
...
...
@@ -32,7 +32,6 @@ load "#{MRUBY_ROOT}/tools/mirb/mirb.rake"
load
"
#{
MRUBY_ROOT
}
/tasks/mrbgems_test.rake"
load
"
#{
MRUBY_ROOT
}
/test/mrbtest.rake"
##############################
# generic build targets, rules
task
:default
=>
:all
...
...
@@ -42,7 +41,7 @@ depfiles = MRuby.targets['host'].bins.map do |bin|
source_path
=
MRuby
.
targets
[
'host'
].
exefile
(
"
#{
MRuby
.
targets
[
'host'
].
build_dir
}
/bin/
#{
bin
}
"
)
file
install_path
=>
source_path
do
|
t
|
FileUtils
.
cp
t
.
prerequisites
.
first
,
t
.
name
FileUtils
.
cp
t
.
prerequisites
.
first
,
t
.
name
,
{
:verbose
=>
$verbose
}
end
install_path
...
...
@@ -72,8 +71,8 @@ end
desc
"clean all built and in-repo installed artifacts"
task
:clean
do
MRuby
.
each_target
do
|
t
|
FileUtils
.
rm_rf
t
.
build_dir
FileUtils
.
rm_rf
t
.
build_dir
,
{
:verbose
=>
$verbose
}
end
FileUtils
.
rm_f
depfiles
FileUtils
.
rm_f
depfiles
,
{
:verbose
=>
$verbose
}
puts
"Cleaned up build folder"
end
tasks/mruby_build.rake
View file @
a4402590
...
...
@@ -163,7 +163,7 @@ module MRuby
def
run_test
puts
">>> Test
#{
name
}
<<<"
mrbtest
=
exefile
(
"
#{
build_dir
}
/test/mrbtest"
)
sh
"
#{
filename
mrbtest
.
relative_path
}
"
sh
"
#{
filename
mrbtest
.
relative_path
}
#{
$verbose
?
' -v'
:
''
}
"
puts
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