makes cli commands available on windows machines from site root

This commit is contained in:
Robert Went
2014-11-18 16:45:22 +00:00
parent 4e0db8e540
commit bff84ae8d5
2 changed files with 22 additions and 0 deletions

11
gpm.bat Normal file
View File

@@ -0,0 +1,11 @@
@echo off
@setlocal
set GPM_PATH=bin/
if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe
"%PHP_COMMAND%" "%GPM_PATH%gpm" %*
@endlocal

11
grav.bat Normal file
View File

@@ -0,0 +1,11 @@
@echo off
@setlocal
set GRAV_PATH=bin/
if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe
"%PHP_COMMAND%" "%GRAV_PATH%grav" %*
@endlocal