From f82bca220ea86defc19c3fc77675f707319c3331 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sat, 12 Sep 2026 19:50:58 +0200 Subject: [PATCH] jw-pkg-create-project.sh: Use make gitignore jw-pkg-create-project.sh contains its own .gitignore template, which is redundant to the new gitignore mechanism. Replace it. Signed-off-by: Jan Lindemann --- scripts/jw-pkg-create-project.sh | 38 +------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/scripts/jw-pkg-create-project.sh b/scripts/jw-pkg-create-project.sh index c954b3ef..8ef06c49 100644 --- a/scripts/jw-pkg-create-project.sh +++ b/scripts/jw-pkg-create-project.sh @@ -97,42 +97,6 @@ cat_make_project_conf() EOT } -cat_gitignore() -{ - cat <<-EOT - *.done - *.dist - *.dep.mk - .cache-project.mk - *.o - *.so.* - *.so - *.a - *.rep - ld-*.conf - *.ldscript - *.pc - $name - *_generated_* - *.secret - local.mk - .gdb_history - dist - mkspec.sh - *.out - *.orig - *.old - .feedfs_history - .exrc - *.swp - *tmp* - __init__.py - __pycache__ - pyproject.toml - pyrightconfig.json - EOT -} - # ---------------------- here we go myname=`basename $0` @@ -193,7 +157,7 @@ cat_make_Makefile > make/Makefile cat_VERSION > VERSION cat_make_proj_mk > make/proj.mk cat_make_project_conf > make/project.conf -cat_gitignore > .gitignore +make gitignore log Successfully created project template \"$name\".