public function compile($force = false)
    {
        $jsOutputPath  = $this->outputPath['js'] . '/bootstrap.min.js';
        $cssOutputPath = $this->outputPath['css'] . '/bootstrap.min.css';

        if ($force === true || !$this->filesystem->exists($jsOutputPath)) {
            $this->filesystem->makeDirectory(dirname($jsOutputPath), 0755, true, true);
            $this->filesystem->put($jsOutputPath, $this->minifyJs());
            $this->lineToOutput('Compiled <info>JavaScript</info> was successfully written to <info>' . $jsOutputPath . '</info> file');
        }

        if ($force === true || !$this->filesystem->exists($cssOutputPath)) {
            $this->filesystem->makeDirectory(dirname($cssOutputPath), 0755, true, true);
            $this->filesystem->put($cssOutputPath, $this->minifyCss());
            $this->lineToOutput('Compiled <info>StyleSheet</info> was successfully written to <info>' . $jsOutputPath . '</info> file');
        }
    }
public function compile($force = false)
    {
        $jsOutputPath  = $this->outputPath['js'] . '/bootstrap.min.js';
        $cssOutputPath = $this->outputPath['css'] . '/bootstrap.min.css';

        if ($force === true || !$this->filesystem->exists($jsOutputPath)) {
            $this->filesystem->makeDirectory(dirname($jsOutputPath), 0755, true, true);
            $this->filesystem->put($jsOutputPath, $this->minifyJs());
            $this->lineToOutput('Compiled <info>JavaScript</info> was successfully written to <info>' . $jsOutputPath . '</info> file');
        }

        if ($force === true || !$this->filesystem->exists($cssOutputPath)) {
            $this->filesystem->makeDirectory(dirname($cssOutputPath), 0755, true, true);
            $this->filesystem->put($cssOutputPath, $this->minifyCss());
            $this->lineToOutput('Compiled <info>StyleSheet</info> was successfully written to <info>' . $jsOutputPath . '</info> file');
        }
    }
public function compile ( $ force = false ) { $ jsOutputPath = $ this -> outputPath [ 'js' ] . '/bootstrap.min.js' ; $ cssOutputPath = $ this -> outputPath [ 'css' ] . '/bootstrap.min.css' ; if ( $ force === true || ! $ this -> filesystem -> exists ( $ jsOutputPath ) ) { $ this -> filesystem -> makeDirectory ( dirname ( $ jsOutputPath ) , 0755 , true , true ) ; $ this -> filesystem -> put ( $ jsOutputPath , $ this -> minifyJs ( ) ) ; $ this -> lineToOutput ( 'Compiled <info>JavaScript</info> was successfully written to <info>' . $ jsOutputPath . '</info> file' ) ; } if ( $ force === true || ! $ this -> filesystem -> exists ( $ cssOutputPath ) ) { $ this -> filesystem -> makeDirectory ( dirname ( $ cssOutputPath ) , 0755 , true , true ) ; $ this -> filesystem -> put ( $ cssOutputPath , $ this -> minifyCss ( ) ) ; $ this -> lineToOutput ( 'Compiled <info>StyleSheet</info> was successfully written to <info>' . $ jsOutputPath . '</info> file' ) ; } }
Compile enabled components

@param bool $force if TRUE cache will be invalidated and new compiled resources will be created

@return void

@throws \ViKon\Bootstrap\Exception\CompilerException
Compile enabled components