Shell script nits (#4982)
This commit is contained in:
@ -3,19 +3,21 @@
|
|||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo ""
|
cat <<EOF
|
||||||
echo " Usage: do.sh action <project>"
|
|
||||||
echo ""
|
Usage: do.sh action <project>
|
||||||
echo " If relative_project_path is ommitted then action will"
|
|
||||||
echo " be performed on all projects"
|
If relative_project_path is ommitted then action will
|
||||||
echo ""
|
be performed on all projects
|
||||||
echo " Supported actions:"
|
|
||||||
echo " build"
|
Supported actions:
|
||||||
echo " clean"
|
build
|
||||||
echo " test"
|
clean
|
||||||
echo " clippy"
|
test
|
||||||
echo " fmt"
|
clippy
|
||||||
echo ""
|
fmt
|
||||||
|
|
||||||
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
perform_action() {
|
perform_action() {
|
||||||
|
Reference in New Issue
Block a user