public function buildPackageCmd(ServiceDefinition $serviceDefinition, $outputDir, $isDevFabric)
    {
        $args = array(
            $this->getAzureSdkBinaryFolder() . 'cspack.exe',
            $serviceDefinition->getPath()
        );
        foreach ($serviceDefinition->getWebRoleNames() as $roleName) {
            $args[] = $this->getRoleArgument($roleName, $serviceDefinition);
        }
        foreach ($serviceDefinition->getWorkerRoleNames() as $roleName) {
            $args[] = $this->getRoleArgument($roleName, $serviceDefinition);
        }
        $args[] = sprintf('/out:%s', $outputDir);
        
        if ($isDevFabric) {
            $args[] = '/copyOnly';
        }
        
        return $args;
    }
public function buildPackageCmd(ServiceDefinition $serviceDefinition, $outputDir, $isDevFabric)
    {
        $args = array(
            $this->getAzureSdkBinaryFolder() . 'cspack.exe',
            $serviceDefinition->getPath()
        );
        foreach ($serviceDefinition->getWebRoleNames() as $roleName) {
            $args[] = $this->getRoleArgument($roleName, $serviceDefinition);
        }
        foreach ($serviceDefinition->getWorkerRoleNames() as $roleName) {
            $args[] = $this->getRoleArgument($roleName, $serviceDefinition);
        }
        $args[] = sprintf('/out:%s', $outputDir);
        
        if ($isDevFabric) {
            $args[] = '/copyOnly';
        }
        
        return $args;
    }
public function buildPackageCmd ( ServiceDefinition $ serviceDefinition , $ outputDir , $ isDevFabric ) { $ args = array ( $ this -> getAzureSdkBinaryFolder ( ) . 'cspack.exe' , $ serviceDefinition -> getPath ( ) ) ; foreach ( $ serviceDefinition -> getWebRoleNames ( ) as $ roleName ) { $ args [ ] = $ this -> getRoleArgument ( $ roleName , $ serviceDefinition ) ; } foreach ( $ serviceDefinition -> getWorkerRoleNames ( ) as $ roleName ) { $ args [ ] = $ this -> getRoleArgument ( $ roleName , $ serviceDefinition ) ; } $ args [ ] = sprintf ( '/out:%s' , $ outputDir ) ; if ( $ isDevFabric ) { $ args [ ] = '/copyOnly' ; } return $ args ; }
Build Packaging command

@param ServiceDefinition $serviceDefinition
@param string $outputDir
@param bool $isDevFabric
@return array
Build Packaging command