Skip to content

Commit

Permalink
Update .gitignore and fixed pre-commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Sep 8, 2024
1 parent c8c20b6 commit 7372b08
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ do
fi
else
echo "Skipping formatting of $FILE"
if [[ $FILE == *.sh || $FILE == *.py || $FILE == *.rb ||
$FILE == *pre-commit ]]; then
if [[ $FILE == *.sh || $FILE == *.py || $FILE == *pre-commit ]]; then
if [[ -e $FILE ]]; then
echo "Changing $FILE permissions to 0755"
chmod 0755 $FILE
echo "Running dos2unix on $FILE"
dos2unix $FILE
echo "Changing $FILE permissions to 0755"
chmod 0755 $FILE
git add $FILE
fi
else
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ tlRender/debug_tests
Qt5
Qt6
packages
Debug
Release
RelWithDebInfo
doc/doxygen
examples/mrv2
*__pycache__
Expand Down
Empty file modified bin/release/tag_release.sh
100644 → 100755
Empty file.
Empty file modified bin/release/upload_docs.sh
100644 → 100755
Empty file.
Empty file modified bin/release/upload_sourceforge.sh
100644 → 100755
Empty file.
Empty file modified bin/release/upload_www.sh
100644 → 100755
Empty file.

0 comments on commit 7372b08

Please sign in to comment.