forked from timescale/pgai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
24 lines (20 loc) · 749 Bytes
/
justfile
File metadata and controls
24 lines (20 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export ROOT_JUSTFILE := "1" # Note: used in extension build.py
# pgai python library. List recipes with `just -l pgai`
mod pgai 'projects/pgai/justfile'
# pgai postgres extension. List recipes with `just -l ext`
mod ext 'projects/extension/justfile'
# Show list of recipes
default:
@just --list
@echo "\nproject/pgai recipes: just pgai [recipe]\n"
@just --list pgai
@echo "\nproject/extension recipes: just ext [recipe]\n"
@just --list ext
ci:
just pgai ci
just ext ci
# Install semantic commit message hook
@install-commit-hook:
curl --fail -s -o .git/hooks/commit-msg https://raw.githubusercontent.com/hazcod/semantic-commit-hook/master/commit-msg
chmod u+x .git/hooks/commit-msg
echo "commit-msg hook installed"