mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Adding QMake (Make-like) language.
Mostly because the file extension conflicts with that of Prolog.
This commit is contained in:
8
samples/QMake/functions.pri
Normal file
8
samples/QMake/functions.pri
Normal file
@@ -0,0 +1,8 @@
|
||||
# QMake include file that calls some functions
|
||||
# and does nothing else...
|
||||
|
||||
exists(.git/HEAD) {
|
||||
system(git rev-parse HEAD >rev.txt)
|
||||
} else {
|
||||
system(echo ThisIsNotAGitRepo >rev.txt)
|
||||
}
|
||||
Reference in New Issue
Block a user