Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
alshabib
2014-10-08 21:56:15 -0700
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
05be0eed7d5d10881da66bcb9ad7d6a3a226b5b3
05be0eed
2 parents
92c65ad4
2f182f6b
Merge branch 'master' of
ssh://gerrit.onlab.us:29418/onos-next
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
tools/dev/bin/onos-build-selective-hook
tools/dev/bin/onos-build-selective-hook
View file @
05be0ee
#------------------------------------------------------------------------------
# Echoes project-level directory if a Java file within is newer than
its
#
class file counterpart
# Echoes project-level directory if a Java file within is newer than
the
#
target directory.
#------------------------------------------------------------------------------
javaFile=${1#*\/src\/*\/java/}
...
...
@@ -10,9 +10,7 @@ basename=${1/*\//}
src=${1/$javaFile/}
project=${src/src*/}
classFile=${javaFile/.java/.class}
target=$project/target
[ ${project}target/classes/$classFile -nt ${src}$javaFile -o \
${project}target/test-classes/$classFile -nt ${src}$javaFile ] \
|| echo ${src/src*/}
[ $target -nt ${src}$javaFile ] || echo ${src/src*/}
...
...
Please
register
or
login
to post a comment