Skip to content

Commit

Permalink
chore: add cocogitto config
Browse files Browse the repository at this point in the history
  • Loading branch information
nisavid committed Mar 26, 2024
1 parent fbe916a commit bf2dc27
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .cog/commit-msg.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

set -e

cog verify --file "$1"
5 changes: 5 additions & 0 deletions .cog/pre-push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

set -e

cog check
5 changes: 5 additions & 0 deletions cog.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[git_hooks.commit-msg]
path = ".cog/commit-msg.sh"

[git_hooks.pre-push]
path = ".cog/pre-push.sh"

0 comments on commit bf2dc27

Please sign in to comment.