import { Messages } from "@salesforce/core" ; import BuildImpl , { BuildProps } from "../../../impl/parallelBuilder/BuildImpl" ; import { Stage } from "../../../impl/Stage" ; import BuildBase from "../../../BuildBase" ; Messages . importMessagesDirectory ( __dirname ) ; const messages = Messages . loadMessages ( "@dxatscale/sfpowerscripts" , "quickbuild" ) ; export default class QuickBuild extends BuildBase { public static description = messages . getMessage ( "commandDescription" ) ; getStage ( ) { return Stage . QUICKBUILD ; } getBuildImplementer ( ) { let buildProps = { configFilePath : this . flags . configfilepath , devhubAlias : this . flags . devhubalias , repourl : this . flags . repourl , waitTime : this . flags . waittime , isQuickBuild : true , isDiffCheckEnabled : this . flags . diffcheck , buildNumber : this . flags . buildnumber , executorcount : this . flags . executorcount , branch : this . flags . branch , currentStage : Stage . QUICKBUILD , isBuildAllAsSourcePackages : false } ; let buildImpl = new BuildImpl ( buildProps ) ; return buildImpl ; } }