[Build] Start refactor
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
USER_NAME=$(whoami)
|
||||
|
||||
# Common paths to check
|
||||
paths=(
|
||||
"/var/lib/AccountsService/icons/$USER_NAME"
|
||||
"$HOME/.face"
|
||||
@@ -16,5 +15,4 @@ for path in "${paths[@]}"; do
|
||||
fi
|
||||
done
|
||||
|
||||
# Nothing found — exit silently or optionally with an error code
|
||||
exit 0
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
SCRIPT_DIR=$(dirname "$0")
|
||||
|
||||
cp "$SCRIPT_DIR/../config/lint/clang-format" ./.clang-format
|
||||
cp "$SCRIPT_DIR/../configs/linters/clang-format" ./.clang-format
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
SCRIPT_DIR=$(dirname "$0")
|
||||
|
||||
cp "$SCRIPT_DIR/../config/lint/eslint.config.mjs" .
|
||||
cp "$SCRIPT_DIR/../configs/linters/eslint.config.mjs" .
|
||||
|
||||
npm i --save-dev @eslint/js typescript-eslint @stylistic/eslint-plugin eslint-plugin-vue
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
SCRIPT_DIR=$(dirname "$0")
|
||||
|
||||
cp "$SCRIPT_DIR/../config/lint/latexfmt.yaml" ./.latexindent.yaml
|
||||
cp "$SCRIPT_DIR/../configs/linters/latexfmt.yaml" ./.latexindent.yaml
|
||||
|
||||
Reference in New Issue
Block a user