protected function buildCommandString($source)
    {
        $commandPattern = '%s %s %s %s %s';
        $command = sprintf(
        // pattern
            $commandPattern,
            // compass binary path
            $this->getBin(),
            // compass command
            'compile',
            // sources
            $source->getRealPath(),
            // destination file
            '--css-dir='.$this->getCacheDir(),
            // sass directory
            '--sass-dir='.$source->getPath()
        );

        return $command;
    }
protected function buildCommandString($source)
    {
        $commandPattern = '%s %s %s %s %s';
        $command = sprintf(
        // pattern
            $commandPattern,
            // compass binary path
            $this->getBin(),
            // compass command
            'compile',
            // sources
            $source->getRealPath(),
            // destination file
            '--css-dir='.$this->getCacheDir(),
            // sass directory
            '--sass-dir='.$source->getPath()
        );

        return $command;
    }
protected function buildCommandString ( $ source ) { $ commandPattern = '%s %s %s %s %s' ; $ command = sprintf ( // pattern $ commandPattern , // compass binary path $ this -> getBin ( ) , // compass command 'compile' , // sources $ source -> getRealPath ( ) , // destination file '--css-dir=' . $ this -> getCacheDir ( ) , // sass directory '--sass-dir=' . $ source -> getPath ( ) ) ; return $ command ; }
Build the compass compile command line.

@param SplFileInfo $source
@return string
Build the compass compile command line .