mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-29 07:11:49 +01:00
No functional changes. * Description header formatting * Added missing new line at the end of a file * Removed extra new lines at the end of a file
13 lines
605 B
Bash
Executable File
13 lines
605 B
Bash
Executable File
#!/bin/bash
|
|
# ----------------------------------------------------------------------------
|
|
# Selectively builds only those projects that contained modified Java files.
|
|
# ----------------------------------------------------------------------------
|
|
|
|
projects=$(find $ONOS_ROOT -name '*.java' \
|
|
-not -path '*/openflowj/*' -and -not -path '.git/*' \
|
|
-exec $ONOS_ROOT/tools/dev/bin/onos-build-selective-hook {} \; | \
|
|
sort -u | sed "s:$ONOS_ROOT::g" | tr '\n' ',' | \
|
|
sed 's:/,:,:g;s:,/:,:g;s:^/::g;s:,$::g')
|
|
|
|
[ -n "$projects" ] && cd $ONOS_ROOT && mvn --projects $projects ${@:-clean install}
|