15 lines
265 B
Bash
Executable File
15 lines
265 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd frontend
|
|
npm i
|
|
npm run build
|
|
|
|
cd ..
|
|
echo "Backend"
|
|
|
|
mkdir -p web/html
|
|
rm -fr web/html/*
|
|
cp -R frontend/dist/* web/html/
|
|
|
|
go build -ldflags "-w -s" -tags "with_quic,with_grpc,with_ech,with_utls,with_reality_server,with_acme,with_gvisor" -o sui main.go
|