mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-14 06:09:37 +00:00
Update NPM.py
This commit is contained in:
parent
804fddecc2
commit
b02b2229cf
@ -17,19 +17,6 @@ def isLog(step):
|
|||||||
def getFactory():
|
def getFactory():
|
||||||
factory = base.getFactory();
|
factory = base.getFactory();
|
||||||
|
|
||||||
factory.addStep(
|
|
||||||
steps.ShellCommand(
|
|
||||||
command = [
|
|
||||||
'npm',
|
|
||||||
"stop"
|
|
||||||
],
|
|
||||||
doStepIf = lambda step : (not isLog(step)) ,
|
|
||||||
haltOnFailure = True,
|
|
||||||
name = 'npm stop',
|
|
||||||
description = 'stop old version',
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
factory.addStep(
|
factory.addStep(
|
||||||
steps.Git(
|
steps.Git(
|
||||||
repourl=util.Interpolate('%(prop:repository)s'),
|
repourl=util.Interpolate('%(prop:repository)s'),
|
||||||
@ -44,6 +31,19 @@ def getFactory():
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
factory.addStep(
|
||||||
|
steps.ShellCommand(
|
||||||
|
command = [
|
||||||
|
'npm',
|
||||||
|
"stop"
|
||||||
|
],
|
||||||
|
doStepIf = lambda step : (not isLog(step)) ,
|
||||||
|
haltOnFailure = True,
|
||||||
|
name = 'npm stop',
|
||||||
|
description = 'stop old version',
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
factory.addStep(
|
factory.addStep(
|
||||||
steps.ShellCommand(
|
steps.ShellCommand(
|
||||||
command = [
|
command = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user