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
712ad32b
Commit
712ad32b
authored
Aug 11, 2014
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2526 from iij/pr-test-only-gem
fix build when neither src nor mrblib directory exists.
parents
2d5943b6
547f3177
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tasks/mrbgems_test.rake
tasks/mrbgems_test.rake
+2
-1
No files found.
tasks/mrbgems_test.rake
View file @
712ad32b
...
...
@@ -4,10 +4,11 @@ MRuby.each_target do
gems
.
each
do
|
g
|
test_rbobj
=
g
.
test_rbireps
.
ext
(
exts
.
object
)
g
.
test_objs
<<
test_rbobj
dep_list
=
gems
.
tsort_dependencies
g
.
test_dependencies
,
gem_table
dep_list
=
gems
.
tsort_dependencies
(
g
.
test_dependencies
,
gem_table
).
select
(
&
:generate_functions
)
file
test_rbobj
=>
g
.
test_rbireps
file
g
.
test_rbireps
=>
[
g
.
test_rbfiles
].
flatten
+
[
File
.
join
(
g
.
dir
,
'mrbgem.rake'
),
g
.
build
.
mrbcfile
,
__FILE__
,
"
#{
MRUBY_ROOT
}
/tasks/mrbgem_spec.rake"
]
do
|
t
|
FileUtils
.
mkdir_p
File
.
dirname
(
t
.
name
)
open
(
t
.
name
,
'w'
)
do
|
f
|
g
.
print_gem_test_header
(
f
)
test_preload
=
g
.
test_preload
and
[
g
.
dir
,
MRUBY_ROOT
].
map
{
|
dir
|
...
...
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