onos-buck-build-docs 401 Bytes
#!/bin/bash
# -----------------------------------------------------------------------------
# Builds the ONOS Java API docs with buck.
# -----------------------------------------------------------------------------

set -e

[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults

onos-buck build  `onos-buck query "filter('.*-javadoc', '//...')"`