Skip to content
Browse files

Remove platform-specific bootstraps in favor (favour?) of pure-Perl6 …

…version
  • Loading branch information...
1 parent 9b8a6da commit b19c3830780ce329c0fd85c33d826dc9f13b6125 @tadzik committed Jul 11, 2012
Showing with 9 additions and 12 deletions.
  1. +4 −4 README.md
  2. +0 −4 bootstrap.bat
  3. +5 −0 bootstrap.pl
  4. +0 −4 bootstrap.sh
View
8 README.md
@@ -13,14 +13,14 @@ and Panda, being the actual module manager to use.
## Installation on Linux/UNIX/OSX
To install Panda along with all its dependencies, simply run the script
-bootstrap.sh in the root of the panda git repo. You must have a
-*perl6* binary in your $PATH for bootstrap.sh to work correctly.
+bootstrap.pl in the root of the panda git repo. You must have
+perl6 installed in order to run bootstrap.pl
git clone git://github.com/tadzik/panda.git
cd panda
- sh ./bootstrap.sh
+ perl6 bootstrap.pl
Since the bootstrap step currently runs tests with prove, you will need a
recent TAP::Harness (3.x) for it to work properly.
@@ -41,7 +41,7 @@ your path, you may now install Panda by doing:
cd panda
- bootstrap
+ perl6 bootstrap.pl
## Running Tests
View
4 bootstrap.bat
@@ -1,4 +0,0 @@
-SET PERL6LIB=%CD%\ext;%CD%\lib
-perl6 bin\panda install File::Tools JSON::Tiny Test::Mock
-SET PERL6LIB=%CD%\lib
-perl6 bin\panda install panda
View
5 bootstrap.pl
@@ -0,0 +1,5 @@
+use v6;
+
+%*ENV<PERL6LIB> = "{%*ENV<PERL6LIB>}:{cwd}/ext:{cwd}/lib";
+shell "perl6 bin/panda install File::Tools JSON::Tiny Test::Mock";
+shell "perl6 bin/panda install .";
View
4 bootstrap.sh
@@ -1,4 +0,0 @@
-#!/bin/sh
-PWD=`pwd`
-PERL6LIB=$PWD/ext:$PWD/lib perl6 bin/panda install File::Tools JSON::Tiny Test::Mock
-PERL6LIB=lib perl6 bin/panda install panda

0 comments on commit b19c383

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