mirror of
https://github.com/peklaiho/madlisp.git
synced 2024-11-22 13:24:46 +00:00
rename run.php -> bin/madlisp
This commit is contained in:
parent
5c4836d3ff
commit
2b8be79c0e
4
run.php → bin/madlisp
Normal file → Executable file
4
run.php → bin/madlisp
Normal file → Executable file
@ -1,10 +1,12 @@
|
|||||||
|
#!/usr/bin/env php
|
||||||
<?php
|
<?php
|
||||||
require(__DIR__ . '/vendor/autoload.php');
|
|
||||||
|
|
||||||
if (php_sapi_name() != 'cli') {
|
if (php_sapi_name() != 'cli') {
|
||||||
exit('Currently only cli usage is supported.');
|
exit('Currently only cli usage is supported.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require(__DIR__ . '/../vendor/autoload.php');
|
||||||
|
|
||||||
function ml_help()
|
function ml_help()
|
||||||
{
|
{
|
||||||
print("Usage:" . PHP_EOL);
|
print("Usage:" . PHP_EOL);
|
Loading…
Reference in New Issue
Block a user