Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
Josh Cooper 5accc69fb1 (#11714) Use `%~dp0` to resolve bat file's install directory
This commit uses the `%~dp0` batch script modifier to resolve the
drive and path of the directory containing the envpuppet.bat
file. This eliminates the need for hard coded paths within the script
itselfIt also uses `%VAR:\=/%` to substitute each backslash for a
forward slash in the RUBYLIB environment

Also added a section about running the spec tests on Windows.

Reviewed-By: Jeff McCune <jeff@puppetlabs.com>
2012-01-10 13:00:20 -08:00
Jeff McCune 24af732ef9 (#11714) Add envpuppet batch file to run Puppet from source on Windows
Running Puppet on windows from source is non-trivial since the
environment variables behave quite differently.  In addition, it's not
clear windows paths expect / rather than \ path separators.

This patch provides an envpuppet batch file to run Puppet from source on
Windows platforms.
2012-01-10 09:10:20 -08:00