script: correct typo and add additional rebuild command
This commit is contained in:
parent
de89acb617
commit
f58927d79a
5
piston
5
piston
|
@ -35,11 +35,12 @@ case $1 in
|
|||
echo " clean-pkgs Clean any package build artifacts on disk"
|
||||
echo " clean-repo Remove all packages from local repo"
|
||||
echo " build-pkg <package> <version> Build a package"
|
||||
echo " rebuild Build and restart the docker container"
|
||||
|
||||
else
|
||||
|
||||
echo " Switch to developement environment for more info"
|
||||
echo " > piston switch dev"
|
||||
echo " > piston select dev"
|
||||
|
||||
fi
|
||||
;;
|
||||
|
@ -52,6 +53,8 @@ case $1 in
|
|||
start) docker_compose up -d ;;
|
||||
stop) docker_compose down ;;
|
||||
|
||||
rebuild) docker_compose build && docker_compose up -d ;;
|
||||
|
||||
update)
|
||||
git pull
|
||||
docker_compose pull
|
||||
|
|
Loading…
Reference in New Issue