Skip to content

Commit 2e307b7

Browse files
zbynekniloc132
andauthored
Compute total size of samples correctly (#10263)
This fixes the size of compiled samples reported during a build. Except for `hello` all samples have multiple modules, so `target` is not always in the top level folder. Also included deferredjs/ for split point content. --------- Co-authored-by: Colin Alworth <colin@vertispan.com>
1 parent af2f4cc commit 2e307b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<param name="mvn.args" value="verify" />
6161
</antcall>
6262
<length property="gwt.sample.length">
63-
<fileset dir="." includes="*/target/*/*/*.cache.js"/>
63+
<fileset dir="." includes="hello/target/*/*/*.cache.js,*/*-client/target/*/*/*.cache.js,*/*-client/target/*/*/deferredjs/*/*.cache.js"/>
6464
</length>
6565
<echo message="compiled size of all samples is ${gwt.sample.length} bytes." level="info"/>
6666
</target>

0 commit comments

Comments
 (0)