chore: simplify build scripts

This commit is contained in:
Prad Nukala
2024-08-31 18:54:14 -04:00
parent dcf502773a
commit fd82cf4f3d
3 changed files with 38 additions and 15 deletions
+3 -3
View File
@@ -1,15 +1,15 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": ["golangci-lint@latest", "go@1.21", "air@latest"],
"packages": ["go@1.21", "air@latest"],
"env": {
"GOPATH": "$HOME/go",
"PATH": "$HOME/go/bin:$PATH"
},
"shell": {
"scripts": {
"install": ["make install"],
"init": ["make install", "sonrd init"],
"proto": ["make proto-gen"],
"build": ["go build -o ./bin/sonrd ./cmd/sonrd"],
"build": ["make build", "make local-image"],
"testnet": ["make sh-testnet"]
}
}