Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: set local hooks path on install #7920

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,15 @@ done

###
#
# Check if Docker Compose exists
# Check if Docker Compose exists
#
###

if ! docker compose version &> /dev/null
then
echo "Docker Compose is not available in your Docker installation"
echo "Your Docker version may be too old to include Docker Compose as part of the Docker CLI."

if [ $OS == "UBUNTU" ]; then
echo "Please follow the installation instructions here: https://docs.docker.com/engine/install/ubuntu/"
else
Expand Down Expand Up @@ -333,6 +333,10 @@ else
fi
yarn install

echo -e "\033[32m:::::::::::::::::::::: Setting hooks path to .husky ::::::::::::::::::::::\033[0m"
echo
git config --local core.hooksPath .husky/

echo -e "\033[32m::::::::::::::::::::::: Creating some directories :::::::::::::::::::::::\033[0m"
echo
echo -e "\033[32m::::::::::::: Please enter your sudo password when prompted :::::::::::::\033[0m"
Expand Down
Loading