Skip to content
This repository
Browse code

Fix that last commit

  • Loading branch information...
commit 39080b4eca65c3c0281975dfe17ce3f42809c4eb 1 parent 29c237f
Tadeusz Sośnierz authored

Showing 1 changed file with 0 additions and 28 deletions. Show diff stats Hide diff stats

  1. +0 28 bin/panda-rebootstrap
28 bin/panda-rebootstrap
... ... @@ -1,28 +0,0 @@
1   -#!/usr/bin/env perl6
2   -use v6;
3   -
4   -my $home = $*OS eq 'MSWin32' ?? %*ENV<HOMEDRIVE> ~ %*ENV<HOMEPATH> !! %*ENV<HOME>;
5   -
6   -if not "$home/.panda/state".IO.e {
7   - say "No need to rebootstrap, running normal bootstrap";
8   - run 'perl6 bootstrap.pl';
9   -}
10   -
11   -my @modules;
12   -
13   -given open("$home/.panda/state") {
14   - for .lines() -> $line {
15   - my ($name, $state) = split /\s/, $line;
16   - next if $name eq any(<File::Tools JSON::Tiny Test::Mock panda>);
17   - if $state eq 'installed' {
18   - @modules.push: $name;
19   - }
20   - }
21   - .close;
22   -}
23   -
24   -# TODO: Make me cross-platform
25   -shell 'rm -rf ~/.perl6/lib';
26   -shell 'rm -rf ~/.panda';
27   -shell 'perl6 bootstrap.pl';
28   -shell "panda install @modules[]";

0 comments on commit 39080b4

Please sign in to comment.
Something went wrong with that request. Please try again.