tp-langages-formels/exclude-executables.sh

4 lines
97 B
Bash
Executable File

#!/bin/sh
find . -perm /111 -type f | sed 's#^./##' | sort > .gitignore
echo "*.c" >> .gitignore