chore: init bj_power monorepo (dashboard/mes/wms/wms_client/workstation), clear subproject git metadata and align naming to folder names
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "=== 1. Build frontend ==="
|
||||
cd frontend
|
||||
npm run build
|
||||
|
||||
echo "=== 2. Copy frontend output to public/ ==="
|
||||
cd ..
|
||||
rm -rf public/*
|
||||
cp -r frontend/dist/* public/
|
||||
|
||||
echo "=== 3. Build Go binary ==="
|
||||
go build -o bj_power_mes .
|
||||
|
||||
echo "=== Build complete: ./bj_power_mes ==="
|
||||
Reference in New Issue
Block a user