Place both shell scripts in the root of your dev environmen and change the package name in package.sh
.
Last active
June 19, 2020 20:36
-
-
Save TheBrokenRail/2ba0388bf3cd7adf38a3bef36c8399fc to your computer and use it in GitHub Desktop.
Packages!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
LINES="$(find "$1" -type f -exec cat {} + | wc -l)" | |
echo "${LINES} $1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
OLD_PWD="$(pwd)" | |
cd src/main/java | |
find com/thebrokenrail/twine -type d -exec "${OLD_PWD}/package.sh" {} \; | sort -rn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment