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 <jan@janware.com>
This commit is contained in:
parent
bf636f8b71
commit
f82bca220e
1 changed files with 1 additions and 37 deletions
|
|
@ -97,42 +97,6 @@ cat_make_project_conf()
|
||||||
EOT
|
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
|
# ---------------------- here we go
|
||||||
|
|
||||||
myname=`basename $0`
|
myname=`basename $0`
|
||||||
|
|
@ -193,7 +157,7 @@ cat_make_Makefile > make/Makefile
|
||||||
cat_VERSION > VERSION
|
cat_VERSION > VERSION
|
||||||
cat_make_proj_mk > make/proj.mk
|
cat_make_proj_mk > make/proj.mk
|
||||||
cat_make_project_conf > make/project.conf
|
cat_make_project_conf > make/project.conf
|
||||||
cat_gitignore > .gitignore
|
make gitignore
|
||||||
|
|
||||||
log Successfully created project template \"$name\".
|
log Successfully created project template \"$name\".
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue