-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.sh.example
More file actions
68 lines (61 loc) · 1.63 KB
/
Copy pathconfig.sh.example
File metadata and controls
68 lines (61 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/bin/sh
# [general]
PROJECT_PATH="/path/to/project" # Absolute path to the project, e.g. /var/www/my-project
GITCC_PATH="path/to/gitcc" # Relative path to the project, e.g. "bin/git-commit-check"
CONTAINER_NAME="container_name"
# Set 0 to force gitcc to ignore any containers.
FORCE_CONTAINER_RUN=1
# Set 0 to disable all checks.
CHECKS_ENABLED=1
# Set 1 to skip prompting user for confirmation when checks are disabled via configuration.
IGNORE_CHECKS_DISABLED=0
# Set 1 to skip prompting user for confirmation when there are warnings.
IGNORE_HAS_WARNINGS=0
# Add the file names of all the scripts located under the 'scripts/use' directory separated by a line.
# Prepend a '#' to any file name that you want to disable e.g., #03_php_artisan_test.sh
SCRIPTS_ENABLED="
01_php_lint.sh
02_phpcs.sh
03_php_artisan_test.sh
04_composer_audit.sh
05_eslint.sh
06_prettier.sh
07_tsc.sh
08_npm_audit.sh
09_vite_build.sh
"
# [interface]
SHOW_OUTPUT=1
SHOW_ABOUT=1
SHOW_LOG_URL=1
WIDTH=93
RED="\e[0;31m"
BRED="\e[1;31m" # Bold red.
GREEN="\e[0;32m"
YELLOW="\e[0;33m"
WHITE="\033[38;5;15m"
CYAN="\e[0;36m"
DARKSEAGREEN3="\033[48;5;115m"
BLUE="\033[38;5;12m"
BOLD="\e[1m"
UNDERLINED="\033[4m"
INVERT="\033[7m"
NC="\e[0m" # No color/modifier.
SECTION_SYMBOL=""
STAR_SYMBOL=✰
HEADER_SYMBOL=➡️
MESSAGE_SYMBOL=""
LOG_SYMBOL=📋
TIME_SYMBOL=🕒
LOAD_SYMBOL=⌛
PASS_SYMBOL=🟢
#PASS_SYMBOL=🔵
WARN_SYMBOL=🟡
#WARN_SYMBOL=🟠
FAIL_SYMBOL=🔴
DISABLED_SYMBOL=⚪
# [log]
LOG=1
LOG_FILE="./path/to/log-file"
LOG_FORMAT="[%s] local.%s: %s\nMessage: %s" # datetime, log level, header, message
LOG_URL="https://www.my-app.com/logs"