Skip to content

Commit

Permalink
chore: add githook submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
azrod committed Aug 30, 2023
1 parent 610e678 commit 8b12083
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule ".ci"]
path = .ci
url = https://github.com/FrangipaneTeam/release-ci
[submodule "githooks"]
path = githooks
url = https://github.com/FrangipaneTeam/githooks
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ fmt:
test:
go test -v -cover -timeout=120s -parallel=4 ./...

.PHONY: build lint fmt test
submodules:
@git submodule sync
@git submodule update --init --recursive
@git config core.hooksPath githooks
@git config submodule.recurse true

.PHONY: build lint fmt test submodules
1 change: 1 addition & 0 deletions githooks
Submodule githooks added at 113e3c

0 comments on commit 8b12083

Please sign in to comment.