Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
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
capnproto
Commits
5df78948
Commit
5df78948
authored
Dec 07, 2013
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #52
parent
0407760c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
rpc-twoparty.capnp.h
c++/src/capnp/rpc-twoparty.capnp.h
+1
-1
rpc.capnp.h
c++/src/capnp/rpc.capnp.h
+1
-1
release.sh
release.sh
+1
-4
No files found.
c++/src/capnp/rpc-twoparty.capnp.h
View file @
5df78948
...
...
@@ -6,7 +6,7 @@
#include <capnp/generated-header-support.h>
#if CAPNP_VERSION !=
4
000
#if CAPNP_VERSION !=
5
000
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
#endif
...
...
c++/src/capnp/rpc.capnp.h
View file @
5df78948
...
...
@@ -6,7 +6,7 @@
#include <capnp/generated-header-support.h>
#if CAPNP_VERSION !=
4
000
#if CAPNP_VERSION !=
5
000
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
#endif
...
...
release.sh
View file @
5df78948
...
...
@@ -48,10 +48,7 @@ update_version() {
local
NEW_COMBINED
=
$((
${
NEW_ARR
[0]
}
*
1000000
+
${
NEW_ARR
[1]
}
*
1000
+
${
NEW_ARR
[2]
:-
0
}))
doit
sed
-i
-re
"s/^#if CAPNP_VERSION != [0-9]*
\$
/#if CAPNP_VERSION !=
$NEW_COMBINED
/g"
\
c++/src/capnp/c++.capnp.h
\
c++/src/capnp/schema.capnp.h
\
c++/src/capnp/compiler/lexer.capnp.h
\
c++/src/capnp/compiler/grammar.capnp.h
src/
*
/
*
.capnp.h src/
*
/
*
/
*
.capnp.h
doit git commit
-a
-m
"Set
$BRANCH_DESC
version to
$NEW
."
}
...
...
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