- Refactor file embedding to use Go 1.16 embed functionality.

- Remove references to previous bindata packages from build scripts and docs
This commit is contained in:
Simon Marsh
2021-07-13 11:31:42 +01:00
parent 03c42eb1e8
commit 256a80646f
15 changed files with 30 additions and 43 deletions

View File

@@ -33,8 +33,6 @@ Or, you can manually do the building steps:
```bash
# Build frontend binary
cd frontend
go get -u github.com/kevinburke/go-bindata/...
go generate
go build -ldflags "-w -s" -o frontend
cd ..
@@ -44,8 +42,6 @@ go build -ldflags "-w -s" -o proxy
cd ..
```
- If you get `undefined: MustAssetString`, you need to uninstall an older version of go-bindata from your machine: see [#11](https://github.com/xddxdd/bird-lg-go/issues/11)
## Build Docker Images
Run `make dockerfile` and you'll get a bunch of Dockerfiles for different architectures: