Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix that last commit

  • Loading branch information...
commit 39080b4eca65c3c0281975dfe17ce3f42809c4eb 1 parent 29c237f
Tadeusz Sośnierz authored
Showing with 0 additions and 28 deletions.
  1. +0 −28 bin/panda-rebootstrap
28 bin/panda-rebootstrap
View
@@ -1,28 +0,0 @@
-#!/usr/bin/env perl6
-use v6;
-
-my $home = $*OS eq 'MSWin32' ?? %*ENV<HOMEDRIVE> ~ %*ENV<HOMEPATH> !! %*ENV<HOME>;
-
-if not "$home/.panda/state".IO.e {
- say "No need to rebootstrap, running normal bootstrap";
- run 'perl6 bootstrap.pl';
-}
-
-my @modules;
-
-given open("$home/.panda/state") {
- for .lines() -> $line {
- my ($name, $state) = split /\s/, $line;
- next if $name eq any(<File::Tools JSON::Tiny Test::Mock panda>);
- if $state eq 'installed' {
- @modules.push: $name;
- }
- }
- .close;
-}
-
-# TODO: Make me cross-platform
-shell 'rm -rf ~/.perl6/lib';
-shell 'rm -rf ~/.panda';
-shell 'perl6 bootstrap.pl';
-shell "panda install @modules[]";
Please sign in to comment.
Something went wrong with that request. Please try again.