Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
make bootstrap.pl more robust
do not add ext/ to lib once ext/ is installed
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| use v6; | ||
|
|
||
| %*ENV<PERL6LIB> = "{%*ENV<PERL6LIB> // ''}:{cwd}/ext:{cwd}/lib"; | ||
| my $oldenv = %*ENV<PERL6LIB> // ''; | ||
| my $env_sep = $*VM<config><osname> eq 'MSWin32' ?? ';' !! ':'; | ||
| %*ENV<PERL6LIB> = join $env_sep, $oldenv, cwd() ~ '/ext', cwd() ~ '/lib'; | ||
| shell "perl6 bin/panda install File::Tools JSON::Tiny Test::Mock"; | ||
| %*ENV<PERL6LIB> = join $env_sep, $oldenv, cwd() ~ '/lib'; | ||
| shell "perl6 bin/panda install ."; |