This repository was archived by the owner on Mar 19, 2021. It is now read-only.
File tree 5 files changed +8
-31
lines changed
5 files changed +8
-31
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Config.json
9
9
10
10
.DS_Store
11
11
node_modules
12
- /dist
12
+ /frontend / dist
13
13
14
14
# local env files
15
15
.env.local
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ sed -i 's/http.Dir(\".\/frontend\/dist\/\")/assetFS()/g' main.go
9
9
# sed -i 's/https[a-zA-Z0-9\:\/\.@\-]*\///g' WebPageBuild/index.html
10
10
go get github.com/go-bindata/go-bindata/...
11
11
go get github.com/elazarl/go-bindata-assetfs/...
12
- go-bindata -fs -prefix " frontend/dist/" frontend/dist/
13
- go-bindata-assetfs frontend/dist/...
12
+ go-bindata-assetfs -prefix frontend frontend/dist/...
14
13
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags=" -w -s" -o Robot_Monitor_Web_linux
15
14
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags=" -w -s" -o Robot_Monitor_Web_mac
16
15
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags=" -w -s" -o Robot_Monitor_Web_windows.exe
16
+ upx -q -9 Robot_Monitor_Web_linux Robot_Monitor_Web_mac Robot_Monitor_Web_windows.exe
17
17
zip Robot_Monitor_Web_linux.zip Robot_Monitor_Web_linux
18
18
zip Robot_Monitor_Web_mac.zip Robot_Monitor_Web_mac
19
19
zip Robot_Monitor_Web_windows.zip Robot_Monitor_Web_windows.exe
Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/creack/goselect v0.1.1 // indirect
7
7
github.com/elazarl/go-bindata-assetfs v1.0.0
8
+ github.com/go-bindata/go-bindata v3.1.2+incompatible // indirect
8
9
github.com/gorilla/websocket v1.4.2
9
10
go.bug.st/serial.v1 v0.0.0-20191202182710-24a6610f0541
10
11
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299 // indirect
Original file line number Diff line number Diff line change 1
1
github.com/creack/goselect v0.1.1 h1:tiSSgKE1eJtxs1h/VgGQWuXUP0YS4CDIFMp6vaI1ls0 =
2
2
github.com/creack/goselect v0.1.1 /go.mod h1:a/NhLweNvqIYMuxcMOuWY516Cimucms3DglDzQP3hKY =
3
+ github.com/elazarl/go-bindata-assetfs v1.0.0 h1:G/bYguwHIzWq9ZoyUQqrjTmJbbYn3j3CKKpKinvZLFk =
3
4
github.com/elazarl/go-bindata-assetfs v1.0.0 /go.mod h1:v+YaWX3bdea5J/mo8dSETolEo7R71Vk1u8bnjau5yw4 =
5
+ github.com/go-bindata/go-bindata v1.0.0 h1:DZ34txDXWn1DyWa+vQf7V9ANc2ILTtrEjtlsdJRF26M =
6
+ github.com/go-bindata/go-bindata v3.1.2+incompatible h1:5vjJMVhowQdPzjE1LdxyFF7YFTXg5IgGVW4gBr5IbvE =
7
+ github.com/go-bindata/go-bindata v3.1.2+incompatible /go.mod h1:xK8Dsgwmeed+BBsSy2XTopBn/8uK2HWuGSnA11C3Joo =
4
8
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc =
5
9
github.com/gorilla/websocket v1.4.2 /go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE =
6
10
go.bug.st/serial.v1 v0.0.0-20191202182710-24a6610f0541 h1:eQfoPfT+gNSh63t/oKanQlZyKgblRa/LMZRPIT+MHzA =
You can’t perform that action at this time.
0 commit comments