mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-11 04:39:34 +00:00
fix make validators
This commit is contained in:
parent
d01d5cdcbb
commit
417730532b
@ -14,7 +14,8 @@ class CMake(Make):
|
||||
return "C"
|
||||
|
||||
def isSupport(self, step):
|
||||
return os.path.isfile('./CMakeLists.txt')
|
||||
PWD = step.getProperty('builddir') + '/build'
|
||||
return os.path.isfile(PWD + '/CMakeLists.txt')
|
||||
|
||||
def mainCmd(self):
|
||||
command = [
|
||||
|
@ -130,7 +130,7 @@ class Make(BaseModule):
|
||||
command=self.getWraper(cmd),
|
||||
haltOnFailure=True,
|
||||
doStepIf=lambda step: dustepIf(step),
|
||||
#hideStepIf=lambda results, step: not dustepIf(step),
|
||||
hideStepIf=lambda results, step: not dustepIf(step),
|
||||
name=desc + ' ' + platform,
|
||||
env=envWraper,
|
||||
want_stdout=True,
|
||||
|
@ -14,7 +14,8 @@ class QMake(Make):
|
||||
return "Q"
|
||||
|
||||
def isSupport(self, step):
|
||||
return len(glob.glob1('.', '*.pro')) > 0
|
||||
PWD = step.getProperty('builddir') + '/build'
|
||||
return len(glob.glob1(PWD, '*.pro')) > 0
|
||||
|
||||
def mainCmd(self):
|
||||
command = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user