1 | #!/usr/bin/env bash |
2 | # |
3 | # Test file |
4 | # |
5 | # Usage: |
6 | # devtools/hello-xshar.sh <function name> |
7 | |
8 | set -o nounset |
9 | set -o pipefail |
10 | set -o errexit |
11 | |
12 | main() { |
13 | echo "args: $@" |
14 | echo "git commit: $XSHAR_GIT_COMMIT" |
15 | |
16 | echo 'hello-xshar.sh: listing files' |
17 | echo |
18 | |
19 | find yaks/ -type f |
20 | |
21 | echo |
22 | echo 'hello-xshar.sh: done' |
23 | } |
24 | |
25 | "$@" |