Skip to content

Commit 42db1c5

Browse files
Make pre-commit git hook opt-in (#2323)
Instead of having it as a default. The pre-commit script is slow to run, making it harder to commit often.
1 parent c046534 commit 42db1c5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

dev-setup.sh

-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ COLOR_GREEN="$(tput setaf 2)"
77
COLOR_MAGENTA="$(tput setaf 5)"
88
COLOR_LIGHT_BLUE="$(tput setaf 81)"
99

10-
echo "$COLOR_LIGHT_BLUE 🧑‍🔧 Setting up pre-commit script... $COLOR_REST"
11-
cd .git/hooks/
12-
ln -sf ../../pre-commit.sh pre-commit
13-
cd ../..
14-
1510
echo "$COLOR_LIGHT_BLUE 🧑‍🔧 Building Docker images... $COLOR_REST"
1611
docker compose build
1712

0 commit comments

Comments
 (0)