Skip to content

Instantly share code, notes, and snippets.

@leohmoraes
Forked from vluzrmos/command.bat
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leohmoraes/4000eace324c4035f03f to your computer and use it in GitHub Desktop.
Save leohmoraes/4000eace324c4035f03f to your computer and use it in GitHub Desktop.
@echo Off
php "%~dp0NOMEDOCOMANDO.phar" %*
#REM [en]
#REM %~dp0 is the directory of the actual file (command.bat) , its like the directive __DIR__ on php.
#REM [pt_BR]
#REM %~dp0 é o diretório do arquivo atual, similar a diretiva __DIR__ do php.
@echo Off
php "%~dp0composer.phar" %*
@echo Off
php "%~dp0phpcbf.phar" %*
@echo Off
php "%~dp0phpcs-fixer.phar" %*
@echo Off
php "%~dp0phpcs.phar" %*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment