mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-07 18:59:36 +00:00
ref #12 added new pwd location
This commit is contained in:
parent
e874938f3c
commit
96f8cd89c3
@ -14,10 +14,10 @@ class BaseModule:
|
|||||||
P_Android = 'Android'
|
P_Android = 'Android'
|
||||||
P_Wasm = 'Wasm'
|
P_Wasm = 'Wasm'
|
||||||
|
|
||||||
def __init__(self, platform):
|
def __init__(self, platform, pwd="."):
|
||||||
self.home = str(Path.home())
|
self.home = str(Path.home())
|
||||||
self.platform = platform
|
self.platform = platform
|
||||||
self.pwd = "."
|
self.pwd = pwd
|
||||||
|
|
||||||
if self.platform == self.P_Windows:
|
if self.platform == self.P_Windows:
|
||||||
self.MULTIPLE_SH_COMMAND = ["cmd", "/c"]
|
self.MULTIPLE_SH_COMMAND = ["cmd", "/c"]
|
||||||
|
@ -10,7 +10,9 @@ import hashlib
|
|||||||
|
|
||||||
class Make(BaseModule):
|
class Make(BaseModule):
|
||||||
def __init__(self, platform):
|
def __init__(self, platform):
|
||||||
BaseModule.__init__(self, platform)
|
BaseModule.__init__(self,
|
||||||
|
platform,
|
||||||
|
util.Interpolate('%(prop:project)s'))
|
||||||
self.tempRepoDir = ""
|
self.tempRepoDir = ""
|
||||||
|
|
||||||
def isSupport(self, step):
|
def isSupport(self, step):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user