mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* rtl support * fix lint * Run e2e in case demoshell has been changed * Skip file * Skip file * remove demoshell directive * refactor side navigation * remove env.cloud file * class name selectors * side navigation selectors * fix clickMenuButton selector * nested menu element context * fix notification navigation selector
21 lines
566 B
Bash
Executable File
21 lines
566 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
|
|
show_help() {
|
|
echo "Usage: ./scripts/lint.sh -ban word_to_ban"
|
|
echo ""
|
|
echo "-ban (optional)"
|
|
}
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
cd "$DIR/../"
|
|
|
|
echo "====== Parallel lint ====="
|
|
|
|
npx concurrently -s "all" "npm run lint-lib || exit 1" "npm run stylelint || exit 1" "npm run spellcheck || exit " "ng lint dev || exit 1" "npm run lint-e2e || exit 1" || exit 1
|
|
|
|
if grep "envalfresco" . -R --exclude-dir={node_modules,.history,.idea,scripts} --exclude=".env.cloud"; then
|
|
echo not permitted word
|
|
exit 1
|
|
fi
|