sonr/devbox.json

24 lines
891 B
JSON

{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": ["go@1.22", "bun@latest", "gum@latest"],
"env": {
"GOPATH": "$HOME/go",
"PATH": "./build:$HOME/go/bin:$PATH",
"TEMPL_EXPERIMENT": "rawgo"
},
"shell": {
"scripts": {
"deploy-buf": ["gum spin --title='Deploying buf' -- make deploy-buf"],
"deploy-cdn": [
"gum spin --title='Generating PKL' -- make pkl-gen",
"gum spin --title='Generating Styles' -- make styles-gen",
"gum spin --title='Building Motr WASM' -- make motr-build",
"gum spin --title='Uploading to Bucket' -- make deploy-cdn"
],
"start-local": ["cd deploy/local && devbox services up"],
"start-testnet": ["cd deploy/testnet && devbox services up"],
"start-gex": ["go install github.com/cosmos/gex@latest", "gex"]
}
}
}