annotate capnp/check.sh @ 212:d62a69f8d649

Or, we could do this only for Linux since the OSX build should be more up-to-date?
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 09 Aug 2018 10:45:25 +0100
parents 549d3d44d729
children
rev   line source
c@181 1 #!/bin/bash
c@181 2
c@181 3 mydir=$(dirname "$0")
c@181 4
c@181 5 set -eu
c@181 6
c@181 7 echo
c@181 8
c@181 9 for c in "$mydir"/*.capnp ; do
c@181 10 echo "Checking $c..." 1>&2
c@181 11 capnpc -o- "$c" >/dev/null
c@181 12 done
c@181 13
c@181 14 echo OK