onos/tools/build/buck-plugin/buck-plugin-install
Brian O'Connor 79b7067e72 Updating buck plugin to track web resources
Also, renaming onosjar to onos.

Change-Id: Ia726772462b0bc997b92dbcb4bdc477ee7b590b0
2016-10-20 14:21:46 -07:00

15 lines
279 B
Bash
Executable File

#!/bin/bash
PLUGINS=$ONOS_ROOT/bin/plugins
set -e
# Build it first
pluginJar=$(NO_BUCKD=1 buck build //tools/build/buck-plugin:onos --no-cache --show-output | grep onos.jar | cut -d\ -f2)
# Then install it
mkdir -p $PLUGINS
cp $ONOS_ROOT/$pluginJar $PLUGINS
ls -l $PLUGINS