Makefile: Add the ability to create a source code release with all deps #104240
6
Makefile
6
Makefile
@ -53,7 +53,7 @@ vet:
|
|||||||
go vet ./...
|
go vet ./...
|
||||||
go run golang.org/x/vuln/cmd/govulncheck@latest ./...
|
go run golang.org/x/vuln/cmd/govulncheck@latest ./...
|
||||||
|
|
||||||
application: webapp-deps flamenco-manager flamenco-worker
|
application: flamenco-manager flamenco-worker
|
||||||
|
|
||||||
flamenco-manager:
|
flamenco-manager:
|
||||||
$(MAKE) webapp-static
|
$(MAKE) webapp-static
|
||||||
@ -91,10 +91,10 @@ shaman-checkout-id-setter:
|
|||||||
go build -v ${BUILD_FLAGS} ${PKG}/cmd/shaman-checkout-id-setter
|
go build -v ${BUILD_FLAGS} ${PKG}/cmd/shaman-checkout-id-setter
|
||||||
|
|
||||||
webapp-deps:
|
webapp-deps:
|
||||||
# We have to use --force here to ensure that the offile package cache is up to date with no missing files
|
# We have to use --force here to ensure that the offline package cache is up to date with no missing files
|
||||||
|
|||||||
yarn --cwd web/app install --force
|
yarn --cwd web/app install --force
|
||||||
|
|
||||||
webapp-static: addon-packer
|
webapp-static: webapp-deps addon-packer
|
||||||
$(MAKE) clean-webapp-static
|
$(MAKE) clean-webapp-static
|
||||||
# When changing the base URL, also update the line
|
# When changing the base URL, also update the line
|
||||||
# e.GET("/app/*", echo.WrapHandler(webAppHandler))
|
# e.GET("/app/*", echo.WrapHandler(webAppHandler))
|
||||||
|
Loading…
Reference in New Issue
Block a user
This comment should be hidden from the regular output. Right now it's actually shown when running
make webapp-deps
(and any other target that runs this target).