Update exclude executables script

This commit is contained in:
Yohann D'ANELLO 2020-05-16 01:54:23 +02:00
parent 2f18fb4e70
commit b49738e244
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ lexical/example
lexical/flux
lexical/string
*.c
*.o

View File

@ -1,3 +1,4 @@
#!/bin/sh
find . -perm /111 -type f | sed 's#^./##' | sort > .gitignore
find . -perm /111 -type f -not -path "./.git/*" | sed 's#^./##' | sort > .gitignore
echo "*.c" >> .gitignore
echo "*.o" >> .gitignore