aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-07-04 17:33:06 +0200
committerPatrick Spek <p.spek@tyil.nl>2020-07-04 17:33:06 +0200
commit0352b2b19705362b0049514e2bc25675335c199b (patch)
tree12296221584d49b2a7ccbcf852f420fd481e89c5
parent292ae61ff53ed9b215110ec9ff55cee655a03a8c (diff)
downloadDist::Maker-0352b2b19705362b0049514e2bc25675335c199b.tar.gz
Dist::Maker-0352b2b19705362b0049514e2bc25675335c199b.tar.bz2
Fix some leftover rdm references to rakumod
-rw-r--r--lib/App/Rakumod.rakumod10
-rw-r--r--lib/App/Rakumod/Config.rakumod6
-rw-r--r--lib/App/Rakumod/Util.rakumod2
3 files changed, 9 insertions, 9 deletions
diff --git a/lib/App/Rakumod.rakumod b/lib/App/Rakumod.rakumod
index 7c51d16..722e05a 100644
--- a/lib/App/Rakumod.rakumod
+++ b/lib/App/Rakumod.rakumod
@@ -51,9 +51,9 @@ sub rakumod-cli-init (
=head1 Synopsis
-=item1 rdm add <provide> [--kind=<Str>]
-=item1 rdm depend <module>
-=item1 rdm new
+=item1 rakumod add <provide> [--kind=<Str>]
+=item1 rakumod depend <module>
+=item1 rakumod new
=head1 Description
@@ -68,13 +68,13 @@ The bin utility is an acronym for I<B<R>aku B<D>ist B<M>aker>.
=head2 Creating a new module
=begin input
-rdm new My::New::Module
+rakumod new My::New::Module
=end input
=head2 Adding a new unit to your module
=begin input
-rdm add My::New::Grammar --kind=grammar
+rakumod add My::New::Grammar --kind=grammar
=end input
The C<--kind> option will require some configuration. You should consult
diff --git a/lib/App/Rakumod/Config.rakumod b/lib/App/Rakumod/Config.rakumod
index bd8641e..49a728d 100644
--- a/lib/App/Rakumod/Config.rakumod
+++ b/lib/App/Rakumod/Config.rakumod
@@ -56,11 +56,11 @@ variables!
=head2 Templates
C<Dist::Manager> can make use of templates when creating new files. These must
-be placed in C<$XDG_CONFIG_HOME/rdm/templates>. The templates will be rendered
+be placed in C<$XDG_CONFIG_HOME/rakumod/templates>. The templates will be rendered
using L<Mustache|https://mustache.github.io/>.
For examples of templates, please refer to L<tyil's
-dotfiles|https://home.tyil.nl/git/dotfiles/tree/.config/rdm>.
+dotfiles|https://home.tyil.nl/git/dotfiles/tree/.config/rakumod>.
=head3 readme.rakudoc
@@ -71,7 +71,7 @@ variables found in the C<META6.json> of a module are available to use.
=head3 provide.raku
If the C<provide.raku> template file exists, it will be used as the basis for
-every new provide file created using C<rdm add>. The following variables are
+every new provide file created using C<rakumod add>. The following variables are
exposed to it.
=defn meta
diff --git a/lib/App/Rakumod/Util.rakumod b/lib/App/Rakumod/Util.rakumod
index 6e0cbe0..f0dad85 100644
--- a/lib/App/Rakumod/Util.rakumod
+++ b/lib/App/Rakumod/Util.rakumod
@@ -45,7 +45,7 @@ sub rakumod-template (
Str:D $name,
--> IO::Path
) is export {
- my $user-template = xdg-config-home.add("rdm/templates/$name");
+ my $user-template = xdg-config-home.add("rakumod/templates/$name");
# Check for user-defined template
return $user-template if $user-template.f;