blob: 0eae9b395cf9aa46e94a42a917c9e3d230d9abef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# file : schema/inheritance/buildfile
# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
fs = cycle sourced-forward/includer
./: {hxx cxx}{$fs}
# Make sure that the schema files are compilable.
#
for f: $fs
{
<{hxx cxx}{$f}>: xsd{$f} $xsd
{{
$xsd cxx-tree \
--output-dir $directory($path($>[0])) \
$path($<[0])
}}
}
# Test that the invalid schema files compilation expectedly fails.
#
./: testscript xsd{** -{$fs}} $xsd
testscript{*}:
{
test = $xsd
test.arguments = cxx-tree
}
|