mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-21 17:29:37 +00:00
fix make validators
This commit is contained in:
parent
d01d5cdcbb
commit
417730532b
@ -14,7 +14,8 @@ class CMake(Make):
|
|||||||
return "C"
|
return "C"
|
||||||
|
|
||||||
def isSupport(self, step):
|
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):
|
def mainCmd(self):
|
||||||
command = [
|
command = [
|
||||||
|
@ -130,7 +130,7 @@ class Make(BaseModule):
|
|||||||
command=self.getWraper(cmd),
|
command=self.getWraper(cmd),
|
||||||
haltOnFailure=True,
|
haltOnFailure=True,
|
||||||
doStepIf=lambda step: dustepIf(step),
|
doStepIf=lambda step: dustepIf(step),
|
||||||
#hideStepIf=lambda results, step: not dustepIf(step),
|
hideStepIf=lambda results, step: not dustepIf(step),
|
||||||
name=desc + ' ' + platform,
|
name=desc + ' ' + platform,
|
||||||
env=envWraper,
|
env=envWraper,
|
||||||
want_stdout=True,
|
want_stdout=True,
|
||||||
|
@ -14,7 +14,8 @@ class QMake(Make):
|
|||||||
return "Q"
|
return "Q"
|
||||||
|
|
||||||
def isSupport(self, step):
|
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):
|
def mainCmd(self):
|
||||||
command = [
|
command = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user