rename run.php -> bin/madlisp

This commit is contained in:
Pekka Laiho 2020-12-13 15:08:24 +07:00
parent 5c4836d3ff
commit 2b8be79c0e

4
run.php → bin/madlisp Normal file → Executable file
View File

@ -1,10 +1,12 @@
#!/usr/bin/env php
<?php
require(__DIR__ . '/vendor/autoload.php');
if (php_sapi_name() != 'cli') {
exit('Currently only cli usage is supported.');
}
require(__DIR__ . '/../vendor/autoload.php');
function ml_help()
{
print("Usage:" . PHP_EOL);