Skip to content

Commit 8fda195

Browse files
committed
Adding PROJECT_NAME to env for makefile
1 parent 8537199 commit 8fda195

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/apply/apply.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ func applyAll(dir string, projectConfig projectconfig.ZeroProjectConfig, applyEn
6767
// Add env vars for the makefile
6868
envList := []string{
6969
environmentArg,
70+
fmt.Sprintf("PROJECT_NAME=%s", projectConfig.Name),
7071
fmt.Sprintf("PROJECT_DIR=%s", path.Join(dir, mod.Files.Directory)),
7172
fmt.Sprintf("REPOSITORY=%s", mod.Files.Repository),
7273
}

0 commit comments

Comments
 (0)