[Gambas-user] .gitignore file ¿Dot or not dot?

Bruce Steers bsteers4 at gmail.com
Tue Jan 17 12:45:16 CET 2023

On Tue, 17 Jan 2023 at 08:50, Martin <mbelmonte at belmotek.net> wrote:

> Hi,
> I usually use a method to determine if a directory is the one of a
> gambas project [1].
> For example I check that there is a .src directory, then that there is a
> .project file and also a .gitignore file and here is the problem. It
> turns out that in gambas3 the file exists but without the dot. Is it a bug?

No it is the default gitignore file that sits in the gambas3 src dir
When making a project gambas copies this into your project folder as
.gitignore a hidden file (begins with a dot)
See Project.module: CreateGitIgnore()

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230117/e59fcc55/attachment.htm>

More information about the User mailing list