Skip to content

Instantly share code, notes, and snippets.

@occho
Created September 11, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save occho/f1944c5aeb67eb62658d to your computer and use it in GitHub Desktop.
Save occho/f1944c5aeb67eb62658d to your computer and use it in GitHub Desktop.
#!/bin/bash
set -o errexit
set -o nounset
#set -o xtrace
readonly SRC_DIR=src
readonly DEP_SRC_DIR=_dep
main() {
mvn dependency:unpack-dependencies -D"outputDirectory=$DEP_SRC_DIR" -D'classifier=sources'
find $SRC_DIR $DEP_SRC_DIR -name '*.java' | xargs -P1 ctags -V -a
}
main "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment