-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdevbox.json
30 lines (30 loc) · 1.01 KB
/
devbox.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"$schema": "https://raw.githubusercontent.com/jetpack-io/devbox/0.10.4/.schema/devbox.schema.json",
"env": {
"GOBIN": "$PWD/bin",
"GOODCOMMIT_CONFIG_PATH": "$PWD/.repo/configs/config.json",
"PATH": "$PWD/bin:$PATH"
},
"packages": [
"gum@latest",
"go-task@latest",
"python@latest",
"go@1.23.1"
],
"shell": {
"init_hook": [
"ln -f $PWD/.repo/.pre-commit-config.yaml $PWD/.pre-commit-config.yaml",
"ln -f $PWD/.repo/.gitlint $PWD/.gitlint",
". $VENV_DIR/bin/activate",
"pip3 install --upgrade pip",
"pip3 install -r $PWD/.repo/requirements.txt",
"export PS1='\ud83d\udcbb\u30fbrepo-template > '",
"pre-commit install",
"go install github.com/nantli/goodcommit/cmd/goodcommit@v1.2.0",
"alias gc='goodcommit'",
"alias pc='pre-commit run --all-files'",
"pre-commit install-hooks",
"clear"
]
}
}