From 5e4d4ecdc6cc39d627a666f6529b558a5b7ef5a6 Mon Sep 17 00:00:00 2001 From: Jora Troosh Date: Tue, 16 Jul 2024 19:11:49 +0300 Subject: [PATCH] fix: don't add CD to port project --- src/liza.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/liza.zig b/src/liza.zig index e551593..9046703 100644 --- a/src/liza.zig +++ b/src/liza.zig @@ -84,7 +84,9 @@ pub fn initialize( try createLicense(user_name, repo_dir); try createPlain(GITIGNORE, ALL_GITIGNORE, repo_dir); try createPlain(GITATTRIBUTES, ALL_GITATTRIBUTES, repo_dir); - try createPlain(CD_WORKFLOW, ALL_CD_WORKFLOW, workflows_dir); + if (code_type != .prt) { + try createPlain(CD_WORKFLOW, ALL_CD_WORKFLOW, workflows_dir); + } switch (code_type) { .exe => {