h
This commit is contained in:
parent
f3e10d414c
commit
1cba84952a
5 changed files with 13 additions and 5 deletions
5
bin/gammaphp
Executable file
5
bin/gammaphp
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/php
|
||||||
|
<?php
|
||||||
|
echo "call from here";
|
||||||
|
require "../src/gamma.php";
|
||||||
|
|
1
build_command.sh
Normal file
1
build_command.sh
Normal file
|
@ -0,0 +1 @@
|
||||||
|
php -d phar.readonly=off /usr/local/bin/phar-composer build
|
|
@ -16,5 +16,6 @@
|
||||||
"name": "GZod01",
|
"name": "GZod01",
|
||||||
"email": "gzod01@gzod01.fr"
|
"email": "gzod01@gzod01.fr"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
"bin":["bin/gammaphp"]
|
||||||
}
|
}
|
||||||
|
|
BIN
gammaphp.phar
Executable file
BIN
gammaphp.phar
Executable file
Binary file not shown.
3
src/gammaphp → src/gamma.php
Executable file → Normal file
3
src/gammaphp → src/gamma.php
Executable file → Normal file
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env php
|
|
||||||
<?php
|
<?php
|
||||||
|
require "../vendor/autoload.php";
|
||||||
function get_opts() {
|
function get_opts() {
|
||||||
$opts = array();
|
$opts = array();
|
||||||
foreach(is_string($_SERVER["argv"])?explode(" ",$_SERVER["argv"]):$_SERVER["argv"] as $k => $a){
|
foreach(is_string($_SERVER["argv"])?explode(" ",$_SERVER["argv"]):$_SERVER["argv"] as $k => $a){
|
||||||
|
@ -190,3 +190,4 @@ function createFiles($basepath, $staticmode = false)
|
||||||
file_put_contents($publishpath . "sitemap.xml", $finalsitemap);
|
file_put_contents($publishpath . "sitemap.xml", $finalsitemap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue