From 45f9e3604f62c659c04a59166d084c348d35fab9 Mon Sep 17 00:00:00 2001 From: Austin Abro Date: Wed, 10 Jul 2024 19:04:14 +0000 Subject: [PATCH] move around files --- main.go | 2 +- src/cmd/dev.go | 2 +- src/pkg/{packager => }/lint/findings.go | 0 src/pkg/{packager => }/lint/findings_test.go | 0 src/pkg/{packager => }/lint/lint.go | 0 src/pkg/{packager => }/lint/lint_test.go | 0 src/pkg/{packager => }/lint/rules.go | 0 src/pkg/{packager => }/lint/rules_test.go | 0 src/pkg/{packager => }/lint/schema.go | 0 src/pkg/{packager => }/lint/schema_test.go | 0 src/pkg/packager/creator/creator_test.go | 2 +- src/pkg/packager/creator/utils.go | 2 +- 12 files changed, 4 insertions(+), 4 deletions(-) rename src/pkg/{packager => }/lint/findings.go (100%) rename src/pkg/{packager => }/lint/findings_test.go (100%) rename src/pkg/{packager => }/lint/lint.go (100%) rename src/pkg/{packager => }/lint/lint_test.go (100%) rename src/pkg/{packager => }/lint/rules.go (100%) rename src/pkg/{packager => }/lint/rules_test.go (100%) rename src/pkg/{packager => }/lint/schema.go (100%) rename src/pkg/{packager => }/lint/schema_test.go (100%) diff --git a/main.go b/main.go index 8068f4b4fc..de8ce2617a 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( "github.com/defenseunicorns/zarf/src/cmd" "github.com/defenseunicorns/zarf/src/config" - "github.com/defenseunicorns/zarf/src/pkg/packager/lint" + "github.com/defenseunicorns/zarf/src/pkg/lint" ) //go:embed cosign.pub diff --git a/src/cmd/dev.go b/src/cmd/dev.go index 9e8a9aae98..279a254be1 100644 --- a/src/cmd/dev.go +++ b/src/cmd/dev.go @@ -17,9 +17,9 @@ import ( "github.com/defenseunicorns/zarf/src/cmd/common" "github.com/defenseunicorns/zarf/src/config" "github.com/defenseunicorns/zarf/src/config/lang" + "github.com/defenseunicorns/zarf/src/pkg/lint" "github.com/defenseunicorns/zarf/src/pkg/message" "github.com/defenseunicorns/zarf/src/pkg/packager" - "github.com/defenseunicorns/zarf/src/pkg/packager/lint" "github.com/defenseunicorns/zarf/src/pkg/transform" "github.com/defenseunicorns/zarf/src/pkg/utils" "github.com/defenseunicorns/zarf/src/types" diff --git a/src/pkg/packager/lint/findings.go b/src/pkg/lint/findings.go similarity index 100% rename from src/pkg/packager/lint/findings.go rename to src/pkg/lint/findings.go diff --git a/src/pkg/packager/lint/findings_test.go b/src/pkg/lint/findings_test.go similarity index 100% rename from src/pkg/packager/lint/findings_test.go rename to src/pkg/lint/findings_test.go diff --git a/src/pkg/packager/lint/lint.go b/src/pkg/lint/lint.go similarity index 100% rename from src/pkg/packager/lint/lint.go rename to src/pkg/lint/lint.go diff --git a/src/pkg/packager/lint/lint_test.go b/src/pkg/lint/lint_test.go similarity index 100% rename from src/pkg/packager/lint/lint_test.go rename to src/pkg/lint/lint_test.go diff --git a/src/pkg/packager/lint/rules.go b/src/pkg/lint/rules.go similarity index 100% rename from src/pkg/packager/lint/rules.go rename to src/pkg/lint/rules.go diff --git a/src/pkg/packager/lint/rules_test.go b/src/pkg/lint/rules_test.go similarity index 100% rename from src/pkg/packager/lint/rules_test.go rename to src/pkg/lint/rules_test.go diff --git a/src/pkg/packager/lint/schema.go b/src/pkg/lint/schema.go similarity index 100% rename from src/pkg/packager/lint/schema.go rename to src/pkg/lint/schema.go diff --git a/src/pkg/packager/lint/schema_test.go b/src/pkg/lint/schema_test.go similarity index 100% rename from src/pkg/packager/lint/schema_test.go rename to src/pkg/lint/schema_test.go diff --git a/src/pkg/packager/creator/creator_test.go b/src/pkg/packager/creator/creator_test.go index ae30ffc24d..aa466f46d3 100644 --- a/src/pkg/packager/creator/creator_test.go +++ b/src/pkg/packager/creator/creator_test.go @@ -12,7 +12,7 @@ import ( "testing" "github.com/defenseunicorns/zarf/src/pkg/layout" - "github.com/defenseunicorns/zarf/src/pkg/packager/lint" + "github.com/defenseunicorns/zarf/src/pkg/lint" "github.com/defenseunicorns/zarf/src/types" "github.com/stretchr/testify/require" ) diff --git a/src/pkg/packager/creator/utils.go b/src/pkg/packager/creator/utils.go index ed8d760ebf..93c7eb15d0 100644 --- a/src/pkg/packager/creator/utils.go +++ b/src/pkg/packager/creator/utils.go @@ -11,8 +11,8 @@ import ( "time" "github.com/defenseunicorns/zarf/src/config" + "github.com/defenseunicorns/zarf/src/pkg/lint" "github.com/defenseunicorns/zarf/src/pkg/packager/deprecated" - "github.com/defenseunicorns/zarf/src/pkg/packager/lint" "github.com/defenseunicorns/zarf/src/types" )