mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 04:57:37 +03:00
Move static
to resources
. Embed them at build time
This commit is contained in:
parent
b7dcdedf41
commit
1a9663d432
13 changed files with 39 additions and 367 deletions
|
@ -3,6 +3,7 @@ project_name: navidrome
|
|||
|
||||
before:
|
||||
hooks:
|
||||
- go-bindata -fs -prefix resources -tags embed -ignore="\\\*.go" -pkg resources -o resources/embedded_gen.go resources/...
|
||||
- go-bindata -fs -prefix ui/build -tags embed -nocompress -pkg assets -o assets/embedded_gen.go ui/build/...
|
||||
|
||||
builds:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue