mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-03 05:39:39 +00:00
Add support for disabling all staged content
This reduces the binary footprint for downstream users that won't use these files anyway. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
committed by
Brad Davidson
parent
edb3e5b7a7
commit
fcaeebaa18
@@ -44,6 +44,7 @@ func main() {
|
||||
NoMetadata: true,
|
||||
Prefix: "manifests/",
|
||||
Output: "pkg/deploy/zz_generated_bindata.go",
|
||||
Tags: "!no_stage",
|
||||
}
|
||||
if err := bindata.Translate(bc); err != nil {
|
||||
logrus.Fatal(err)
|
||||
@@ -60,6 +61,7 @@ func main() {
|
||||
NoMetadata: true,
|
||||
Prefix: "build/static/",
|
||||
Output: "pkg/static/zz_generated_bindata.go",
|
||||
Tags: "!no_stage",
|
||||
}
|
||||
if err := bindata.Translate(bc); err != nil {
|
||||
logrus.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user