mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-04-28 06:34:35 +00:00
dev 1
This commit is contained in:
parent
4e6eec99f6
commit
6d25ea08ce
@ -5,6 +5,12 @@ import glob
|
||||
import shutil
|
||||
|
||||
class BaseModule:
|
||||
|
||||
MULTIPLE_SH_COMMAND = ["/bin/bash", "-c"]
|
||||
|
||||
def generateCmd(bashString) :
|
||||
return MULTIPLE_SH_COMMAND + [bashString]
|
||||
|
||||
def __init__(self):
|
||||
self;
|
||||
|
||||
|
@ -110,10 +110,10 @@ class Make(BaseModule):
|
||||
def linuxXmakeEnv:
|
||||
return {}
|
||||
|
||||
|
||||
def makePrefix():
|
||||
return ""
|
||||
|
||||
|
||||
def generateStep(cmd, platform, desc, checkFunc) :
|
||||
|
||||
platformCgek = {
|
||||
@ -141,7 +141,31 @@ class Make(BaseModule):
|
||||
return res;
|
||||
|
||||
|
||||
def generatePlatformSteps(platform) :
|
||||
|
||||
platformXcmd = {
|
||||
'linux': linuxXmakeCmd,
|
||||
'windows': windowsXmakeCmd,
|
||||
'android': androidXmakeCmd,
|
||||
}
|
||||
|
||||
res = []
|
||||
|
||||
res += [generateStep(platformXcmd[platform],
|
||||
platform,
|
||||
'generate make files for build the project',
|
||||
lambda step: return True)]
|
||||
|
||||
res += [generateStep('make clean',
|
||||
platform,
|
||||
'clean old data',
|
||||
self.isClean)]
|
||||
|
||||
res += [generateStep()]
|
||||
res += [generateStep()]
|
||||
res += [generateStep()]
|
||||
res += [generateStep()]
|
||||
res += [generateStep()]
|
||||
|
||||
def LinuxSteps(self) :
|
||||
list = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user