mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +00:00
refactor: Deployment setup
This commit is contained in:
+10
-19
@@ -1,32 +1,23 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
|
||||
"packages": [
|
||||
"go@1.22",
|
||||
"bun@latest",
|
||||
"ipfs@latest",
|
||||
"templ@latest",
|
||||
"gum@latest"
|
||||
],
|
||||
"packages": ["go@1.22", "bun@latest", "gum@latest"],
|
||||
"env": {
|
||||
"GOPATH": "$HOME/go",
|
||||
"PATH": "./build:$HOME/go/bin:$PATH",
|
||||
"TEMPL_EXPERIMENT": "rawgo"
|
||||
},
|
||||
"shell": {
|
||||
"init_hook": [
|
||||
"./scripts/init_env.sh"
|
||||
],
|
||||
"scripts": {
|
||||
"start-local": [
|
||||
"cd deploy/local && devbox services up"
|
||||
"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-testnet": [
|
||||
"cd deploy/testnet && devbox services up"
|
||||
],
|
||||
"start-gex": [
|
||||
"go install github.com/cosmos/gex@latest",
|
||||
"gex"
|
||||
]
|
||||
"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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user