Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 17593
Status: resolved
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Add a Build.bat under Windows
Download (untitled) / with headers
text/plain 663b
Current the instructions for using Module::Build vary on different platforms. On some it is perl Build.PL ./Build ./Build test ./Build install on others it is perl Build.PL perl Build perl Build test perl Build install And on others with non-PATH Perl it is even C:\perl\bin\perl.exe Build.PL C:\perl\bin\perl.exe Build C:\perl\bin\perl.exe Build test C:\perl\bin\perl.exe Build install This gets really confusing. On Windows at least, it should be relatively straight forward to write a bat file that launches perl Build in the right way based on how Build.PL was called. This would at least mean Build, Build test, Build install would work on Windows.
Download (untitled) / with headers
text/plain 174b
This is basically done. For the record, it was nowhere near straightforward. The trick is getting the 'realclean' action to remove the .bat file while it's running. -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.