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
74ed32f2
Commit
74ed32f2
authored
Jun 10, 2014
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2378 from monaka/pr-add-tools-dir-to-cxx-files-check-oaths
Find c++ files in tools/.
parents
d6882f1b
2c144425
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tasks/mruby_build_gem.rake
tasks/mruby_build_gem.rake
+3
-2
No files found.
tasks/mruby_build_gem.rake
View file @
74ed32f2
...
...
@@ -35,8 +35,9 @@ module MRuby
Gem
.
current
.
build_config_initializer
=
block
gems
<<
Gem
.
current
cxx_srcs
=
Dir
.
glob
(
"
#{
Gem
.
current
.
dir
}
/src/*.{cpp,cxx,cc}"
)
cxx_srcs
+=
Dir
.
glob
(
"
#{
Gem
.
current
.
dir
}
/test/*.{cpp,cxx,cc}"
)
cxx_srcs
=
[
'src'
,
'test'
,
'tools'
].
map
do
|
subdir
|
Dir
.
glob
(
"
#{
Gem
.
current
.
dir
}
/
#{
subdir
}
/*.{cpp,cxx,cc}"
)
end
.
flatten
enable_cxx_abi
unless
cxx_srcs
.
empty?
Gem
.
current
...
...
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