Skip to content

Commit

Permalink
Preload plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
ugexe committed Jul 23, 2024
1 parent 5700d42 commit 104bdd3
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Zef/Build.rakumod
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
use Zef:ver($?DISTRIBUTION.meta<version> // $?DISTRIBUTION.meta<ver>// '*'):api($?DISTRIBUTION.meta<api> // '*'):auth($?DISTRIBUTION.meta<auth> // '');
use Zef::Distribution:ver(Zef.^ver):api(Zef.^api):auth(Zef.^auth);

# Preload default plugins
use Zef::Service::Shell::DistributionBuilder;
use Zef::Service::Shell::LegacyBuild;

class Zef::Build does Builder does Pluggable {

=begin pod
Expand Down
6 changes: 6 additions & 0 deletions lib/Zef/Extract.rakumod
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
use Zef:ver($?DISTRIBUTION.meta<version> // $?DISTRIBUTION.meta<ver>// '*'):api($?DISTRIBUTION.meta<api> // '*'):auth($?DISTRIBUTION.meta<auth> // '');
use Zef::Utils::FileSystem:ver(Zef.^ver):api(Zef.^api):auth(Zef.^auth);

# Preload default plugins
use Zef::Service::FetchPath;
use Zef::Service::Shell::git;
use Zef::Service::Shell::tar;
use Zef::Service::Shell::unzip;

class Zef::Extract does Extractor does Pluggable {

=begin pod
Expand Down
6 changes: 6 additions & 0 deletions lib/Zef/Fetch.rakumod
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
use Zef:ver($?DISTRIBUTION.meta<version> // $?DISTRIBUTION.meta<ver>// '*'):api($?DISTRIBUTION.meta<api> // '*'):auth($?DISTRIBUTION.meta<auth> // '');
use Zef::Utils::FileSystem:ver(Zef.^ver):api(Zef.^api):auth(Zef.^auth);

# Preload default plugins
use Zef::Service::FetchPath;
use Zef::Service::Shell::curl;
use Zef::Service::Shell::git;
use Zef::Service::Shell::wget;

class Zef::Fetch does Fetcher does Pluggable {

=begin pod
Expand Down
3 changes: 3 additions & 0 deletions lib/Zef/Install.rakumod
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
use Zef:ver($?DISTRIBUTION.meta<version> // $?DISTRIBUTION.meta<ver>// '*'):api($?DISTRIBUTION.meta<api> // '*'):auth($?DISTRIBUTION.meta<auth> // '');
use Zef::Distribution:ver(Zef.^ver):api(Zef.^api):auth(Zef.^auth);

# Preload default plugins
use Zef::Service::InstallRakuDistribution;

class Zef::Install does Installer does Pluggable {

=begin pod
Expand Down
3 changes: 3 additions & 0 deletions lib/Zef/Report.rakumod
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
use Zef:ver($?DISTRIBUTION.meta<version> // $?DISTRIBUTION.meta<ver>// '*'):api($?DISTRIBUTION.meta<api> // '*'):auth($?DISTRIBUTION.meta<auth> // '');

# Preload default plugins
use Zef::Service::FileReporter;

class Zef::Report does Pluggable does Reporter {

=begin pod
Expand Down
4 changes: 4 additions & 0 deletions lib/Zef/Test.rakumod
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
use Zef:ver($?DISTRIBUTION.meta<version> // $?DISTRIBUTION.meta<ver>// '*'):api($?DISTRIBUTION.meta<api> // '*'):auth($?DISTRIBUTION.meta<auth> // '');

# Preload default plugins
use Zef::Service::Shell::Test;
use Zef::Service::TAP;

class Zef::Test does Tester does Pluggable {

=begin pod
Expand Down

0 comments on commit 104bdd3

Please sign in to comment.