cronsun/web/gen_bindata.sh

7 lines
141 B
Bash
Raw Normal View History

2017-08-30 06:56:50 +00:00
#!/bin/sh
2017-12-20 02:50:21 +00:00
BASEDIR=$(dirname "$0")
cd $BASEDIR/ui
2017-08-30 06:56:50 +00:00
npm run build
cd ..
go-bindata -pkg "web" -prefix "ui/dist/" -o static_assets.go ./ui/dist/