-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(scripts): Improve pre-push hook and use updatable hooks (#605)
- scripts/pre-commit, scripts/pre-push will be added to actual hooks while scripts/pre-commit.sh, scripts/pre-push.sh will remain as updatable (versioned) implementation of them. - Use a temporarily added git remote to resolve the "bad revision" error when using `--changed-since` against a branch in a fork repo. - editorconfig: Make shell script indents consistent
- Loading branch information
Showing
6 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# backend.ai monorepo standard pre-push hook | ||
BASE_PATH=$(cd "$(dirname "$0")"/../.. && pwd) | ||
${BASE_PATH}/scripts/pre-commit.sh "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# backend.ai monorepo standard pre-push hook | ||
BASE_PATH=$(cd "$(dirname "$0")"/../.. && pwd) | ||
${BASE_PATH}/scripts/pre-push.sh "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters