Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Added batch file for windows. This file makes it possible for windows us... #73

Merged
merged 1 commit into from
Mar 14, 2014

Conversation

adeelnawaz
Copy link
Contributor

...ers to execute commands with "zf2" keyword, such as:

zf2 version
zf2 modules
..etc.

zf.php or zftool.phar are not executables in windows command prompt, so one cannot use them as direct commands and cannot make them globally available.
Dependencies:
php.exe environment variable
zf.php

This file uses "php" PATH environment variable and assumes that php has been registered as global command by adding php's directory to PATH environment variable. Failing this assumption should result in an error: php is not recognized as an internal or external command, operatable program or batch file.

Windows users can add the path of this file's directory to their PATH environment variable and use zf2 commands anywhere to create / maintain ZF2 projects.

… users to execute commands with "zf2" keyword, such as:

zf2 version
zf2 modules
  ..etc.

zf.php or zftool.phar are not executables in windows command prompt, so one cannot use them as direct commands and cannot make them globally available.
Dependencies:
php.exe environment variable
zf.php

This file uses "php" PATH environment variable and assumes that php has been registered as global command by adding php's directory to PATH environment variable. Failing this assumption should result in an error: php is not recognized as an internal or external command, operatable program or batch file.

Windows users can add the path of this file's directory to their PATH environment variable and use zf2 commands anywhere to create / maintain ZF2 projects.
Thinkscape added a commit that referenced this pull request Mar 14, 2014
Added batch file for windows. This file makes it possible for windows us...
@Thinkscape Thinkscape merged commit a8272c7 into zendframework:master Mar 14, 2014
@Thinkscape
Copy link
Member

Thanks! 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants