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
4a14f8e1
Commit
4a14f8e1
authored
Aug 09, 2013
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve bootstrap test.
parent
61ba59b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
bootstrap-test.ekam-rule
c++/src/capnp/bootstrap-test.ekam-rule
+13
-3
No files found.
c++/src/capnp/bootstrap-test.ekam-rule
View file @
4a14f8e1
...
...
@@ -53,13 +53,23 @@ fi
mkdir
-p
tmp/capnp/bootstrap-test-tmp
INPUTS
=
"src/capnp/c++.capnp src/capnp/schema.capnp src/capnp/compiler/lexer.capnp src/capnp/compiler/grammar.capnp"
INPUTS
=
"capnp/c++.capnp capnp/schema.capnp capnp/compiler/lexer.capnp capnp/compiler/grammar.capnp"
SRC_INPUTS
=
""
for
file
in
$INPUTS
;
do
echo
findProvider file:
$file
read
srcfile
SRC_INPUTS
=
"
$SRC_INPUTS
$srcfile
"
done
$CAPNP
compile
--src-prefix
=
src
-Isrc
--no-standard-import
\
-o
$CAPNPC_CXX
:tmp/capnp/bootstrap-test-tmp
$INPUTS
-o
$CAPNPC_CXX
:tmp/capnp/bootstrap-test-tmp
$
SRC_
INPUTS
for
file
in
$INPUTS
;
do
for
ext
in
h c++
;
do
diff
-u
$file
.
$ext
tmp/capnp/bootstrap-test-tmp/
${
file
#src/
}
.
$ext
>
&2
echo
findProvider file:
$file
.
$ext
read
srcfile
test
"x
$srcfile
"
!=
x
||
(
echo
"missing:
$file
.
$ext
"
>
&2
&&
exit
1
)
diff
-u
$srcfile
tmp/capnp/bootstrap-test-tmp/
$file
.
$ext
>
&2
done
done
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