Moved v3 code from NginxProxyManager/nginx-proxy-manager-3 to NginxProxyManager/nginx-proxy-manager

This commit is contained in:
Jamie Curnow committed 2022-05-12 08:47:31 +10:00
1 parent 4db34f5894
commit 2110ecc382
830 files changed
+38168 -36635

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
. "$DIR/.common.sh"
# Ensure docker-compose exists
if hash docker 2>/dev/null; then
cd "${DIR}/.."
echo -e "${BLUE}❯ ${CYAN}Linting Frontend ...${RESET}"
docker run --rm -e CI=true -v "$(pwd)/frontend:/app/frontend" -w /app/frontend node:latest sh -c "yarn install && yarn eslint src;chown -R $(id -u):$(id -g) /app/frontend"
RES=$?
echo -e "${BLUE}❯ ${GREEN}Linting Frontend Complete${RESET}"
exit $RES
else
echo -e "${RED}❯ docker command is not available${RESET}"
exit 1
fi