Skip to content

Commit

Permalink
Migrate to go 1.16 embed
Browse files Browse the repository at this point in the history
  • Loading branch information
xakep666 committed Feb 27, 2021
1 parent 630677c commit 96a17b3
Show file tree
Hide file tree
Showing 30 changed files with 277 additions and 516 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ all: build

.PHONY: build
build:
fileb0x fileb0x/b0x.yaml
rm -rf dist
cp -r swagger-ui/dist .
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# swaggerFiles


Generate swagger ui embedded files by using:
Contains go:embed'ed swagger ui inside `UI` variable

Move dist directory from `swagger-ui` submodule to update it using:
```
make
```
```
139 changes: 0 additions & 139 deletions ab0x.go

This file was deleted.

30 changes: 0 additions & 30 deletions b0xfile__favicon-16x16.png.go

This file was deleted.

30 changes: 0 additions & 30 deletions b0xfile__favicon-32x32.png.go

This file was deleted.

30 changes: 0 additions & 30 deletions b0xfile__index.html.go

This file was deleted.

Loading

0 comments on commit 96a17b3

Please sign in to comment.