aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/build/onos-build
blob: b9c752e8edfcf3095c95b3f9d47fb70496b1d593 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# -----------------------------------------------------------------------------
# Builds the ONOS from source.
# -----------------------------------------------------------------------------

set -e

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

cd $ONOS_ROOT && mvn clean install "$@"