mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
💡 Track options to add and clean options
This commit is contained in:
parent
a43fc529e7
commit
d5f7ac152f
1 changed files with 11 additions and 11 deletions
22
manage.sh
22
manage.sh
|
@ -84,12 +84,18 @@ function build-release {
|
|||
|
||||
function usage {
|
||||
echo "UXBOX build & release manager v$REV"
|
||||
echo "USAGE: $0 [ clean | build | run | test | release-local | release-docker | run-release ]"
|
||||
echo "USAGE: $0 OPTION"
|
||||
echo "Options:"
|
||||
echo "- clean Stop and clean up docker containers"
|
||||
echo "- build-devenv Build docker container for development with tmux"
|
||||
echo "- run-devenv Run (and build if necessary) development container (frontend at localhost:3449, backend at localhost:6060)"
|
||||
echo "- build-release Build a 'production ready' release docker images"
|
||||
echo "- clean Stop and clean up docker containers"
|
||||
echo "- build-devenv Build docker container for development with tmux"
|
||||
echo "- run-devenv Run (and build if necessary) development container (frontend at localhost:3449, backend at localhost:6060)"
|
||||
# TODO Add unit test command(s)
|
||||
#echo "- test Execute unit tests for both backend and frontend"
|
||||
#echo "- test-frontend Execute unit tests for frontend only"
|
||||
#echo "- test-backend Execute unit tests for backend only"
|
||||
echo "- build-release Build 'production ready' docker images for both backend and frontend"
|
||||
echo "- build-release-frontend Build a 'production ready' docker images for frontend only"
|
||||
echo "- build-release-backend Build a 'production ready' docker images for backend only"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
|
@ -103,12 +109,6 @@ case $1 in
|
|||
run-devenv)
|
||||
run-devenv
|
||||
;;
|
||||
release-docker)
|
||||
release_image
|
||||
;;
|
||||
run-release)
|
||||
run_release
|
||||
;;
|
||||
build-release)
|
||||
build-release
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue