feat: integrate build process with Makefile for streamlined development

This commit is contained in:
2025-05-29 20:46:18 -04:00
parent 5de34baf7f
commit 4e442c5a57
8 changed files with 50 additions and 15 deletions

View File

@@ -8,6 +8,11 @@
"go-task@latest",
"doppler@latest"
],
"env": {
"SONR_API_URL": "https://api.sonr.ws",
"SONR_RPC_URL": "https://rpc.sonr.ws",
"IPFS_GATEWAY": "https://cloudflare-ipfs.com/ipfs/"
},
"shell": {
"init_hook": [
"export ROOT_DIR=$(git rev-parse --show-toplevel)",
@@ -17,8 +22,7 @@
"export MIGRATE_ROOT=$ROOT_DIR/internal/migrations",
"export RADAR_OUT=$RADAR_ROOT/build/app.wasm",
"export WORKER_OUT=$WORKER_ROOT/build/app.wasm",
"go mod download",
"go install github.com/syumai/workers/cmd/workers-assets-gen@latest"
"go mod download"
],
"scripts": {
"release": [