mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
14 lines
358 B
Python
14 lines
358 B
Python
|
import fnmatch
|
||
|
import os
|
||
|
import sys
|
||
|
import subprocess
|
||
|
|
||
|
executable = "cmake-lint"
|
||
|
if os.name == 'nt':
|
||
|
executable += ".exe"
|
||
|
|
||
|
for root, dirnames, filenames in os.walk('../'):
|
||
|
for filename in fnmatch.filter(filenames, 'CMakeLists.txt'):
|
||
|
print(executable, root + "/" + filename)
|
||
|
os.system(" %s %s" % (executable, (root + "/" + filename)))
|