aligrudi / neatvi

A small vi/ex editor for editing UTF-8 text
http://litcave.rudi.ir/
305 stars 25 forks source link

Add a gitignore for build artifacts #66

Closed lobre closed 8 months ago

lobre commented 9 months ago

Hello,

When building the project with make, it leaves a lot of build-related files untracked in git.

This would benefit from having a .gitignore to avoid listing them in git.

Would you be accepting a PR for that?

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        cmd.o
        conf.o
        dir.o
        ex.o
        lbuf.o
        led.o
        mot.o
        reg.o
        regex.o
        ren.o
        rset.o
        rstr.o
        sbuf.o
        syn.o
        tag.o
        term.o
        uc.o
        vi
        vi.o

Thanks

lobre commented 8 months ago

I created a pull request on Github for this, but if I understand correctly, you are only interacting through emails. So here is the content of my PR here, in case you are interested in adding this .gitignore.

# libs
*.o
*.ko
*.obj
*.elf

# objects
*.dll
*.so
*.so.*
*.dylib

# executables
*.exe
*.out
*.hex
vi
aligrudi commented 8 months ago

Loric Brevet @.***> wrote:

I created a pull request on Github for this, but if I understand correctly, you are only interacting through emails. So here is the content of my PR here, in case you are interested in adding this .gitignore.

# libs
*.o
*.ko
*.obj
*.elf

# objects
*.dll
*.so
*.so.*
*.dylib

# executables
*.exe
*.out
*.hex
vi

Thanks. I usually use a .gitignore file that ignores itself and do not store it in the repository. In any case, I shall commit a shorter version.

Ali
lobre commented 8 months ago

Thank you, I will close this issue as your proposed gitignore is good enough for now.