mirror of
https://github.com/getgrav/grav.git
synced 2026-07-05 07:39:26 +02:00
makes cli commands available on windows machines from site root
This commit is contained in:
11
gpm.bat
Normal file
11
gpm.bat
Normal 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
|
||||
Reference in New Issue
Block a user