Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix deps

  • Loading branch information...
commit 55b85cef4336263266eb3f1b7389598e58e7418b 1 parent 059ae90
@tadzik authored
View
2  META.info
@@ -2,6 +2,6 @@
"name" : "panda",
"version" : "*",
"description" : "A module management solution",
- "depends" : [ "File::Tools", "JSON::Tiny" ],
+ "depends" : [ "File::Find", "Shell::Command", "JSON::Tiny" ],
"source-url" : "git://github.com/tadzik/panda.git"
}
View
9 bootstrap.pl
@@ -4,7 +4,8 @@ BEGIN
shell 'git submodule init';
shell 'git submodule update';
}
-use lib 'ext/File__Tools/lib/';
+use lib 'ext/File__Find/lib/';
+use lib 'ext/Shell__Command/lib/';
use Shell::Command;
say '==> Bootstrapping Panda';
@@ -38,12 +39,12 @@ BEGIN
my $env_sep = $is_win ?? ';' !! ':';
%*ENV<PERL6LIB> ~= "{$env_sep}$destdir/lib";
-%*ENV<PERL6LIB> ~= "{$env_sep}{cwd}/ext/File__Tools/lib";
+%*ENV<PERL6LIB> ~= "{$env_sep}{cwd}/ext/File__Find/lib";
+%*ENV<PERL6LIB> ~= "{$env_sep}{cwd}/ext/Shell__Command/lib";
%*ENV<PERL6LIB> ~= "{$env_sep}{cwd}/ext/JSON__Tiny/lib";
-%*ENV<PERL6LIB> ~= "{$env_sep}{cwd}/ext/Test__Mock/lib";
%*ENV<PERL6LIB> ~= "{$env_sep}{cwd}/lib";
-shell "perl6 bin/panda install File::Tools JSON::Tiny {cwd}";
+shell "perl6 bin/panda install File::Find Shell::Command JSON::Tiny {cwd}";
if "$destdir/panda/src".IO ~~ :d {
rm_rf "$destdir/panda/src"; # XXX This shouldn't be necessary, I think
# that src should not be kept at all, but
View
14 projects.json.bootstrap
@@ -1,14 +1,22 @@
[
{
"source-type" : "local",
- "source-url" : "_BASEDIR_/File__Tools",
+ "source-url" : "_BASEDIR_/File__Find",
"version" : "*",
- "name" : "File::Tools",
- "description" : "Various modules for file operations",
+ "name" : "File::Find",
+ "description" : "Bla bla",
"depends" : []
},
{
"source-type" : "local",
+ "source-url" : "_BASEDIR_/Shell__Command",
+ "version" : "*",
+ "name" : "Shell::Command",
+ "description" : "Ble ble",
+ "depends" : ["File::Find"]
+ },
+ {
+ "source-type" : "local",
"source-url" : "_BASEDIR_/JSON__Tiny",
"version" : "*",
"name" : "JSON::Tiny",
View
2  rebootstrap.pl
@@ -27,7 +27,7 @@
given open($state-file) {
for .lines() -> $line {
my ($name, $state) = split /\s/, $line;
- next if $name eq any(<File::Tools JSON::Tiny Test::Mock panda>);
+ next if $name eq any(<File::Tools JSON::Tiny panda>);
if $state eq 'installed' {
@modules.push: $name;
}
Please sign in to comment.
Something went wrong with that request. Please try again.