Build with Magefile #104341
10
Makefile
10
Makefile
@ -54,11 +54,10 @@ with-deps:
|
||||
go install github.com/golang/mock/mockgen@v1.6.0
|
||||
$(MAKE) application
|
||||
|
||||
vet:
|
||||
go vet ./...
|
||||
go run golang.org/x/vuln/cmd/govulncheck@latest ./...
|
||||
vet: buildtool
|
||||
"${BUILDTOOL_PATH}" vet
|
||||
|
||||
application: webapp flamenco-manager flamenco-worker
|
||||
application: flamenco-manager flamenco-worker
|
||||
|
||||
flamenco-manager: buildtool
|
||||
"${BUILDTOOL_PATH}" flamencoManager
|
||||
@ -89,9 +88,6 @@ db-migrate-down:
|
||||
goose -dir ./internal/manager/persistence/migrations/ sqlite3 flamenco-manager.sqlite down
|
||||
.PHONY: db-migrate-status db-migrate-up db-migrate-down
|
||||
|
||||
webapp:
|
||||
yarn --cwd web/app install
|
||||
|
||||
webapp-static: buildtool
|
||||
"${BUILDTOOL_PATH}" webappStatic
|
||||
|
||||
|
@ -77,7 +77,7 @@ func WebappStatic() error {
|
||||
return err
|
||||
}
|
||||
|
||||
fmt.Printf("Web app has been installed into %s", webStatic)
|
||||
fmt.Printf("Web app has been installed into %s\n", webStatic)
|
||||
|
||||
// Build the add-on ZIP as it's part of the static web files.
|
||||
zipPath := filepath.Join(webStatic, "flamenco3-addon.zip")
|
||||
|
Loading…
Reference in New Issue
Block a user