23 lines
294 B
Bash
Executable File
23 lines
294 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for i in "$@"
|
|
do
|
|
case $i in
|
|
-m=*|--mission=*)
|
|
MISSIONADD="${i#*=}"
|
|
shift # past argument=value
|
|
;;
|
|
*)
|
|
# unknown option
|
|
;;
|
|
esac
|
|
done
|
|
|
|
cd server || exit
|
|
./load_html.sh "${MISSIONADD}"
|
|
cd .. || exit
|
|
|
|
gulp scripts scripts3
|
|
git add .
|
|
git commit
|
|
git push |