Skip to content

Commit

Permalink
added hooks to autoupdate arm-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
shitwolfymakes committed Mar 31, 2022
1 parent 1202c66 commit 32b7031
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .githooks/post-update
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

cd arm-dependencies
git pull
cd ..

if ! [[ -z $(git diff arm-dependencies) ]]; then
git add arm-dependencies
git commit -m "updated dependencies"
fi
10 changes: 10 additions & 0 deletions .githooks/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

cd arm-dependencies
git pull
cd ..

if ! [[ -z $(git diff arm-dependencies) ]]; then
git add arm-dependencies
git commit -m "updated dependencies"
fi

0 comments on commit 32b7031

Please sign in to comment.