diff options
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | bin/php-gameboy | 4 | ||||
-rw-r--r-- | composer.json | 1 |
3 files changed, 7 insertions, 2 deletions
@@ -38,8 +38,8 @@ about that Windows guys :disappointed: ```bash $ composer install -o -$ php boot.php drmario.rom -$ php boot.php pokemon.rom +$ bin/php-gameboy drmario.rom +$ bin/php-gameboy pokemon.rom ``` ## Controls diff --git a/bin/php-gameboy b/bin/php-gameboy new file mode 100755 index 0000000..3a541e8 --- /dev/null +++ b/bin/php-gameboy @@ -0,0 +1,4 @@ +#!/usr/bin/env php +<?php + +require __DIR__.'/../boot.php'; diff --git a/composer.json b/composer.json index 3ff9240..4fce32c 100644 --- a/composer.json +++ b/composer.json @@ -14,6 +14,7 @@ "php": ">=5.6.0", "whatthejeff/drawille": "^1.0" }, + "bin": ["bin/php-gameboy"], "require-dev": { }, "autoload": { |