aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-02-05 05:49:55 +0100
committerPatrick Spek <p.spek@tyil.nl>2020-02-05 05:49:55 +0100
commit375d2542f61a1fdcf4b4e2690ee17b4c178f2d95 (patch)
treef34ef948bec41314c73cc22c5a5aed72dc4b81db
parente3f4aaa9945bc54b2c8244f7d1fc9560ba087f5c (diff)
downloadDist::Maker-375d2542f61a1fdcf4b4e2690ee17b4c178f2d95.tar.gz
Dist::Maker-375d2542f61a1fdcf4b4e2690ee17b4c178f2d95.tar.bz2
Rename to Dist::Maker
-rw-r--r--META6.json18
-rw-r--r--bin/rdm2
-rw-r--r--lib/Dist/Maker.rakumod (renamed from lib/Dist/Manager.pm6)4
-rw-r--r--lib/Dist/Maker/Bin.rakumod (renamed from lib/Dist/Manager/Bin.pm6)16
-rw-r--r--lib/Dist/Maker/Commands/New.rakumod (renamed from lib/Dist/Manager/Commands/New.pm6)10
-rw-r--r--lib/Dist/Maker/Exception.rakumod (renamed from lib/Dist/Manager/Exception.pm6)6
-rw-r--r--lib/Dist/Maker/Util.rakumod (renamed from lib/Dist/Manager/Util.pm6)4
-rw-r--r--lib/X/Dist/Maker/Clobber.rakumod (renamed from lib/X/Dist/Manager/Clobber.pm6)6
8 files changed, 33 insertions, 33 deletions
diff --git a/META6.json b/META6.json
index f0d6bc1..577451c 100644
--- a/META6.json
+++ b/META6.json
@@ -7,18 +7,18 @@
"Config",
"IO::Path::XDG"
],
- "description": "Manage Raku module distributions",
+ "description": "Easily develop Raku modules",
"license": "AGPL-3.0",
"meta-version": 0,
- "name": "Dist::Manager",
+ "name": "Dist::Maker",
"perl": "6.d",
"provides": {
- "Dist::Manager": "lib/Dist/Manager.pm6",
- "Dist::Manager::Bin": "lib/Dist/Manager/Bin.pm6",
- "Dist::Manager::Commands::New": "lib/Dist/Manager/Commands/New.pm6",
- "Dist::Manager::Exception": "lib/Dist/Manager/Exception.pm6",
- "Dist::Manager::Util": "lib/Dist/Manager/Util.pm6",
- "X::Dist::Manager::Clobber": "lib/X/Dist/Manager/Clobber.pm6",
+ "Dist::Maker": "lib/Dist/Maker.rakumod",
+ "Dist::Maker::Bin": "lib/Dist/Maker/Bin.rakumod",
+ "Dist::Maker::Commands::New": "lib/Dist/Maker/Commands/New.rakumod",
+ "Dist::Maker::Exception": "lib/Dist/Maker/Exception.rakumod",
+ "Dist::Maker::Util": "lib/Dist/Maker/Util.rakumod",
+ "X::Dist::Maker::Clobber": "lib/X/Dist/Maker/Clobber.rakumod",
"rdm": "bin/rdm"
},
"resources": [
@@ -27,4 +27,4 @@
"tags": [
],
"version": "0.0.0"
-} \ No newline at end of file
+}
diff --git a/bin/rdm b/bin/rdm
index 28792a7..2c28d20 100644
--- a/bin/rdm
+++ b/bin/rdm
@@ -2,7 +2,7 @@
use v6.d;
-use Dist::Manager::Bin;
+use Dist::Maker::Bin;
=begin pod
diff --git a/lib/Dist/Manager.pm6 b/lib/Dist/Maker.rakumod
index e86bab3..a4a0312 100644
--- a/lib/Dist/Manager.pm6
+++ b/lib/Dist/Maker.rakumod
@@ -5,7 +5,7 @@ use v6.d;
use Config;
use IO::Path::XDG;
-unit module Dist::Manager;
+unit module Dist::Maker;
my Config $config .= new.read: {
new => {
@@ -37,7 +37,7 @@ multi sub dm-config (
=begin pod
-=NAME Dist::Manager
+=NAME Dist::Maker
=AUTHOR Patrick Spek <p.spek@tyil.work>
=VERSION 0.0.0
diff --git a/lib/Dist/Manager/Bin.pm6 b/lib/Dist/Maker/Bin.rakumod
index e4aea97..9974f37 100644
--- a/lib/Dist/Manager/Bin.pm6
+++ b/lib/Dist/Maker/Bin.rakumod
@@ -2,12 +2,12 @@
use v6.d;
-use Dist::Manager::Commands::New;
-use Dist::Manager::Exception;
-use Dist::Manager::Util;
-use Dist::Manager;
+use Dist::Maker::Commands::New;
+use Dist::Maker::Exception;
+use Dist::Maker::Util;
+use Dist::Maker;
-unit module Dist::Manager::Bin;
+unit module Dist::Maker::Bin;
#| Create a new module skeleton.
multi sub MAIN (
@@ -20,7 +20,7 @@ multi sub MAIN (
Str $path is copy = Str,
) is export {
CATCH {
- when Dist::Manager::Exception {
+ when Dist::Maker::Exception {
note $_.message;
exit $_.code;
}
@@ -42,7 +42,7 @@ multi sub MAIN (
my $description = dm-prompt('Description', :empty);
my $license = dm-prompt('License', 'AGPL-3.0');
- dist-manager-new(
+ dist-maker-new(
$name,
$description,
$license,
@@ -54,7 +54,7 @@ multi sub MAIN (
=begin pod
-=NAME Dist::Manager::Bin
+=NAME Dist::Maker::Bin
=AUTHOR Patrick Spek <p.spek@tyil.work>
=VERSION 0.0.0
diff --git a/lib/Dist/Manager/Commands/New.pm6 b/lib/Dist/Maker/Commands/New.rakumod
index 339edb4..478b76a 100644
--- a/lib/Dist/Manager/Commands/New.pm6
+++ b/lib/Dist/Maker/Commands/New.rakumod
@@ -6,14 +6,14 @@ use IO::Path::XDG;
use JSON::Fast;
use Template::Mustache;
-use X::Dist::Manager::Clobber;
+use X::Dist::Maker::Clobber;
-constant ClobberException = X::Dist::Manager::Clobber;
+constant ClobberException = X::Dist::Maker::Clobber;
-unit module Dist::Manager::Commands::New;
+unit module Dist::Maker::Commands::New;
#| Create a new Raku module distribution skeleton.
-sub dist-manager-new (
+sub dist-maker-new (
#| The name of the new module.
Str:D $name,
@@ -77,7 +77,7 @@ sub dist-manager-new (
=begin pod
-=NAME Dist::Manager::Commands::New
+=NAME Dist::Maker::Commands::New
=AUTHOR Patrick Spek <p.spek@tyil.work>
=VERSION 0.0.0
diff --git a/lib/Dist/Manager/Exception.pm6 b/lib/Dist/Maker/Exception.rakumod
index cff45e8..b874551 100644
--- a/lib/Dist/Manager/Exception.pm6
+++ b/lib/Dist/Maker/Exception.rakumod
@@ -9,9 +9,9 @@ use v6.d;
#| 2 = called MAIN with invalid arguments
subset ErrorCode of Int where 2 < * < 255;
-#| The base class for Exceptions within Dist::Manager. This should ensure that
+#| The base class for Exceptions within Dist::Maker. This should ensure that
#| error handling is done in similar ways across the code base.
-unit role Dist::Manager::Exception is Exception;
+unit role Dist::Maker::Exception is Exception;
#| The error message to show to the end user.
method message (--> Str) { … }
@@ -22,7 +22,7 @@ method code (--> ErrorCode) { … }
=begin pod
-=NAME Dist::Manager::Exception
+=NAME Dist::Maker::Exception
=AUTHOR Patrick Spek <p.spek@tyil.work>
=VERSION 0.0.0
diff --git a/lib/Dist/Manager/Util.pm6 b/lib/Dist/Maker/Util.rakumod
index b980e75..94f7adb 100644
--- a/lib/Dist/Manager/Util.pm6
+++ b/lib/Dist/Maker/Util.rakumod
@@ -2,7 +2,7 @@
use v6.d;
-unit module Dist::Manager::Util;
+unit module Dist::Maker::Util;
sub dm-prompt (
Str:D $prompt is copy,
@@ -24,7 +24,7 @@ sub dm-prompt (
=begin pod
-=NAME Dist::Manager::Util
+=NAME Dist::Maker::Util
=AUTHOR Patrick Spek <p.spek@tyil.work>
=VERSION 0.0.0
diff --git a/lib/X/Dist/Manager/Clobber.pm6 b/lib/X/Dist/Maker/Clobber.rakumod
index e97c45d..5a9492f 100644
--- a/lib/X/Dist/Manager/Clobber.pm6
+++ b/lib/X/Dist/Maker/Clobber.rakumod
@@ -2,9 +2,9 @@
use v6.d;
-use Dist::Manager::Exception;
+use Dist::Maker::Exception;
-unit class X::Dist::Manager::Clobber does Dist::Manager::Exception;
+unit class X::Dist::Maker::Clobber does Dist::Maker::Exception;
has $.path;
@@ -16,7 +16,7 @@ method message () {
=begin pod
-=NAME X::Dist::Manager::Clobber
+=NAME X::Dist::Maker::Clobber
=AUTHOR Patrick Spek <p.spek@tyil.work>
=VERSION 0.0.0