Created
November 21, 2012 09:58
-
-
Save Basster/4124070 to your computer and use it in GitHub Desktop.
Symfony2 batch for Windows development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO off | |
SET params= | |
REM Merge all batch parameters into one string | |
:startloop | |
IF "%1"=="" GOTO endloop | |
SET params=%params%%1 | |
SHIFT | |
GOTO startloop | |
:endloop | |
REM call symfony console with batch params | |
php app/console %params% | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment