private function addFile(\Phar $phar, \SplFileInfo $file, $strip = true)
    {
        $this->info('add file: ' . str_replace(base_path(), '', $file->getRealPath()));

        $path    = str_replace(base_path(), '', $file->getRealPath());
        $content = file_get_contents($file);

        // Tratar espacos?
        if ($strip)
            $content = $this->stripWhitespace($content);

        // Eh arquivo de licenca?
        if ('LICENSE' === basename($file))
            $content = "\n" . $content . "\n";

        // Tratar parametros
        foreach ($this->params as $pk => $pv)
        {
            $pk = sprintf('@%s@', $pk);
            $content = str_replace($pk, $pv, $content);
        }

        $phar->addFromString($path, $content);
    }