Skip to content

Commit

Permalink
adiciona validacao para OS Windows (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
vianaz authored Dec 19, 2024
1 parent 3e1d2cc commit 60c8937
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
install:
git config --local core.hooksPath .githooks/
chmod -R +x .githooks
@git config --local core.hooksPath .githooks/
# This must be indented like this, otherwise it will not work on Windows
# see: https://stackoverflow.com/questions/77974076/how-do-i-fix-this-error-when-checking-os-in-makefile
ifneq ($(OS),Windows_NT)
@chmod -R +x .githooks
endif
@poetry install

shell:
Expand Down

0 comments on commit 60c8937

Please sign in to comment.