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
04c21d9d
Commit
04c21d9d
authored
Jul 20, 2017
by
Yukihiro "Matz" Matsumoto
Committed by
GitHub
Jul 20, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3749 from christopheraue/fix_spec_rbfiles
Fixed setting custom rbfiles in gemspec
parents
25a0a6b0
5a9eedf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tasks/mrbgem_spec.rake
tasks/mrbgem_spec.rake
+3
-3
No files found.
tasks/mrbgem_spec.rake
View file @
04c21d9d
...
...
@@ -63,9 +63,6 @@ module MRuby
objfile
(
f
.
relative_path_from
(
@dir
).
to_s
.
pathmap
(
"
#{
build_dir
}
/%X"
))
end
@generate_functions
=
!
(
@rbfiles
.
empty?
&&
@objs
.
empty?
)
@objs
<<
objfile
(
"
#{
build_dir
}
/gem_init"
)
if
@generate_functions
@test_rbfiles
=
Dir
.
glob
(
"
#{
dir
}
/test/**/*.rb"
)
@test_objs
=
Dir
.
glob
(
"
#{
dir
}
/test/*.{c,cpp,cxx,cc,m,asm,s,S}"
).
map
do
|
f
|
objfile
(
f
.
relative_path_from
(
dir
).
to_s
.
pathmap
(
"
#{
build_dir
}
/%X"
))
...
...
@@ -83,6 +80,9 @@ module MRuby
instance_eval
(
&
@initializer
)
@generate_functions
=
!
(
@rbfiles
.
empty?
&&
@objs
.
empty?
)
@objs
<<
objfile
(
"
#{
build_dir
}
/gem_init"
)
if
@generate_functions
if
!
name
||
!
licenses
||
!
authors
fail
"
#{
name
||
dir
}
required to set name, license(s) and author(s)"
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