Browse files

Adding wpmvc.bat : Windows version of the "create a new plugin" script

  • Loading branch information...
1 parent e6745d7 commit 84be329dd4e85de3562e28c3cae02f47c27cc664 @LindaFurstenberger LindaFurstenberger committed Jul 11, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 wpmvc.bat
@@ -0,0 +1,6 @@
+@echo off
+rem usage : wpmvc.bat generate plugin MyPlugin
+rem Make sure the PHP directory is set in the PATH environement variable
+for %%F in ("%0") do set mvc_core_path=%%~dpF
+set "mvc_core_path=%mvc_core_path%core\"
+php -q "%mvc_core_path%wpmvc.php" %*

0 comments on commit 84be329

Please sign in to comment.