Skip to content

Commit

Permalink
Scripts comments update
Browse files Browse the repository at this point in the history
  • Loading branch information
stankolubomir committed Nov 7, 2023
1 parent 0f9fe50 commit c7ce839
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions bin/bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Script used to run bash in the application docker container
# Script used to run bash in the application container

PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)"
USER_SWITCH="--user node"
Expand All @@ -8,10 +8,10 @@ cd "${PROJECT_ROOT}" || exit 1

function help() {
echo -en "$(printf %q "${BASH_SOURCE[0]}") [OPERATION] [OPTIONS]...
\nScript used to run bash in the application docker container
\nScript used to run bash in the application container
Options:
--root (Optional) Run bash as root in the docker container
--root (Optional) Run bash as root in the application container
Examples:
$(printf %q "${BASH_SOURCE[0]}") --root
Expand Down
2 changes: 1 addition & 1 deletion bin/build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Script used to run build in the application docker container
# Script used to run build in the application container

PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)"
cd "$PROJECT_ROOT" || exit 1
Expand Down
4 changes: 2 additions & 2 deletions bin/run
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Script used to run node server in the application docker container according to specified arguments
# Script used to run node dev or prod server in the application container

PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)"
ARGS="$*"
Expand All @@ -13,7 +13,7 @@ cd "${PROJECT_ROOT}" || exit 1

function help() {
echo -en "$(printf %q "${BASH_SOURCE[0]}") [OPERATION] [OPTIONS]...
\nScript used to run node server in the application docker container according to specified arguments
\nScript used to run node dev or prod server in the application container
Operations:
dev Start dev server
Expand Down

0 comments on commit c7ce839

Please sign in to comment.