src/PackageProject.php
protected function prepareMirrorDir()
    {
        $this->printTaskInfo(sprintf('Preparing directory %s.', $this->tmpDir));
        if (empty($this->ignoreFileNames)) {
            return;
        }
        $files = new Finder();
        $files->in($this->tmpDir);
        $files->ignoreDotFiles(false);
        $files->files();

        // Ignore files defined by the dev.
        foreach ($this->ignoreFileNames as $fileName) {
            $files->name($fileName);
        }
        $this->fs->remove($files);
    }
protected function prepareMirrorDir()
    {
        $this->printTaskInfo(sprintf('Preparing directory %s.', $this->tmpDir));
        if (empty($this->ignoreFileNames)) {
            return;
        }
        $files = new Finder();
        $files->in($this->tmpDir);
        $files->ignoreDotFiles(false);
        $files->files();

        // Ignore files defined by the dev.
        foreach ($this->ignoreFileNames as $fileName) {
            $files->name($fileName);
        }
        $this->fs->remove($files);
    }
protected function prepareMirrorDir ( ) { $ this -> printTaskInfo ( sprintf ( 'Preparing directory %s.' , $ this -> tmpDir ) ) ; if ( empty ( $ this -> ignoreFileNames ) ) { return ; } $ files = new Finder ( ) ; $ files -> in ( $ this -> tmpDir ) ; $ files -> ignoreDotFiles ( false ) ; $ files -> files ( ) ; // Ignore files defined by the dev. foreach ( $ this -> ignoreFileNames as $ fileName ) { $ files -> name ( $ fileName ) ; } $ this -> fs -> remove ( $ files ) ; }
Removes files that should not be packaged from the mirrored directory.
Removes files that should not be packaged from the mirrored directory .