Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
236b9393
Commit
236b9393
authored
Apr 30, 2016
by
Nicolas "Pixel" Noble
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Addressing concerns.
parent
1f8b6da9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Rakefile
ruby/Rakefile
+9
-1
No files found.
ruby/Rakefile
View file @
236b9393
...
...
@@ -26,6 +26,8 @@ proto2_protos = %w[
genproto_output
=
[]
# We won't have access to .. from within docker, but the proto files
# will be there, thanks to the :genproto rule dependency for gem:native.
unless
ENV
[
'IN_DOCKER'
]
==
'true'
well_known_protos
.
each
do
|
proto_file
|
input_file
=
"../src/"
+
proto_file
...
...
@@ -65,7 +67,13 @@ else
RakeCompilerDock
.
sh
"bundle && IN_DOCKER=true rake cross native gem RUBY_CC_VERSION=2.3.0:2.2.2:2.1.5:2.0.0"
end
task
'gem:native'
=>
[
:genproto
,
'gem:windows'
]
if
RUBY_PLATFORM
=~
/darwin/
task
'gem:native'
do
system
"rake cross native gem RUBY_CC_VERSION=2.3.0:2.2.2:2.1.5:2.0.0"
end
else
task
'gem:native'
=>
[
:genproto
,
'gem:windows'
]
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