Include descriptive names for commands.
This commit is contained in:
parent
39101ba16e
commit
c025bd0d8f
@ -1,3 +1,4 @@
|
||||
#Builds and runs the project.
|
||||
rm -Rf out/*
|
||||
javac -Xlint:unchecked -cp ${PROJECT_DIR}/.. -d ${OUT_DIR} ${PROJECT_DIR}/*.java
|
||||
printf "\n\n\nRunning Program...\n\n"
|
||||
|
@ -1,2 +1,3 @@
|
||||
#Cleans up and removes unused files.
|
||||
find . -type f -name *.class -delete
|
||||
find . -type f -name manifest -delete
|
@ -1,3 +1,4 @@
|
||||
#Adds a commit message and pushes project to github repository.
|
||||
git add -u
|
||||
git add *
|
||||
git commit -m "$*"
|
||||
|
@ -1,3 +1,4 @@
|
||||
#Builds a runnable jar file using ${MAIN_CLASS} as an entry point and then runs the newly generated jar.
|
||||
rm -Rf bin/*
|
||||
javac -Xlint:unchecked -cp src -d bin ${PROJECT_DIR}/${PROJECT_NAME}.java
|
||||
printf "\n\n\nGenerating Manifest...\n\n"
|
||||
|
7
sig
7
sig
@ -19,7 +19,12 @@ if [ -z "$1" ]
|
||||
echo ""
|
||||
echo ""
|
||||
echo " Command List:"
|
||||
ls -1 ./scripts | sed -e 's/\.sh$//' | sed -e 's/^/ /'
|
||||
FILES=$(ls -1 ./scripts | sed -e 's/\.sh$//' | sed -e 's/^/ /')
|
||||
for f in $FILES
|
||||
do
|
||||
DESC="$(head -n1 ./scripts/$f.sh)"
|
||||
printf "\n\t%-15s%-65s" $f "${DESC:1}"
|
||||
done
|
||||
echo ""
|
||||
exit
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user