~patrickb/Devel-ExecRunnerGenerator

3f1a7a9f44bd3162d0ddfbbf04036d9b402aa2a3 — Patrick Böker 7 months ago 83d2a16 main
Fix `ake test` on Windows

For some reason `run` won't accept the program name without the `.bat`.
1 files changed, 2 insertions(+), 1 deletions(-)

M Akefile
M Akefile => Akefile +2 -1
@@ 10,7 10,8 @@ sub gen-exec-name($name) {
task 'default' => 'deploy-runner', {;}

task 'test' => <deploy-runner test-setup>, {
    run |qw[ prove6 -I ], $repo-dir, "xt";
    my $prove = $*DISTRO.is-win ?? 'prove6.bat' !! 'prove6';
    run $prove, '-I', $repo-dir, "xt";
}