parent
0e160e7786
commit
7cf13fed44
@ -0,0 +1,6 @@ |
||||
#!/bin/bash |
||||
if [ ! -L deploy_files ]; then |
||||
ln -s ../deploy_files . |
||||
fi |
||||
|
||||
php -c build/neatoDeploy.ini -f neato.php $@ |
||||
@ -0,0 +1,17 @@ |
||||
<?php |
||||
|
||||
$pharFile = 'neatoDeploy.phar'; |
||||
|
||||
try { |
||||
$phar = new Phar($pharFile); |
||||
|
||||
// Get the iterator for the Phar archive |
||||
$iterator = new RecursiveIteratorIterator($phar); |
||||
|
||||
// Iterate through the contents |
||||
foreach ($iterator as $file) { |
||||
echo $file->getPathname() . PHP_EOL; |
||||
} |
||||
} catch (PharException $e) { |
||||
echo "Error reading Phar archive: " . $e->getMessage(); |
||||
} |
||||
Loading…
Reference in new issue