feat: update dependencies and improve development commands in Justfile
This commit is contained in:
8
justfile
8
justfile
@@ -22,7 +22,7 @@ setup-rust-tools:
|
||||
@echo "📦 Installing Rust dependencies..."
|
||||
cargo fetch
|
||||
@echo "🔧 Installing cargo tools..."
|
||||
cargo install --locked
|
||||
cargo install --locked cargo-watch sea-orm-cli 2>/dev/null || true
|
||||
|
||||
# Setup frontend dependencies
|
||||
setup-frontend:
|
||||
@@ -43,13 +43,17 @@ dev:
|
||||
# Start Rust backend with hot reload
|
||||
dev-backend:
|
||||
@echo "🔧 Starting Rust backend..."
|
||||
cargo watch -x run
|
||||
cargo watch --ignore frontend --ignore migration -x 'run --bin nxmesh-master'
|
||||
|
||||
dev-api: dev-backend
|
||||
|
||||
# Start Vite frontend development server
|
||||
dev-frontend:
|
||||
@echo "⚛️ Starting Vite frontend..."
|
||||
cd frontend && bun dev
|
||||
|
||||
dev-ui: dev-frontend
|
||||
|
||||
# Start services (called by devcontainer post-start)
|
||||
start-services:
|
||||
@echo "🔧 Ensuring services are ready..."
|
||||
|
||||
Reference in New Issue
Block a user