mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-23 03:02:30 +01:00
b5dae423cb
This is python based and is now functional for windows. We now should be able to extend this script for linux and mac. Move setup script to Tools folder.
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)))
|