diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-02-05 11:18:53 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-02-05 11:18:53 +0100 |
commit | d44c8f5d59e890a243983075ac3901cfae17ceba (patch) | |
tree | 3d9004f626f447ca78158425e720b6c3fe530ae6 /.config/rdm/templates | |
parent | 305b2d5cc0f82686b8d7844a78777dc2287319f7 (diff) |
Add Dist::Maker configuration
Diffstat (limited to '.config/rdm/templates')
-rw-r--r-- | .config/rdm/templates/kinds/grammar.raku | 4 | ||||
-rw-r--r-- | .config/rdm/templates/provide.raku | 15 | ||||
-rw-r--r-- | .config/rdm/templates/readme.rakudoc | 41 |
3 files changed, 60 insertions, 0 deletions
diff --git a/.config/rdm/templates/kinds/grammar.raku b/.config/rdm/templates/kinds/grammar.raku new file mode 100644 index 0000000..83a89d5 --- /dev/null +++ b/.config/rdm/templates/kinds/grammar.raku @@ -0,0 +1,4 @@ +unit grammar {{ this.provide }}; + +token TOP { +} diff --git a/.config/rdm/templates/provide.raku b/.config/rdm/templates/provide.raku new file mode 100644 index 0000000..19d944f --- /dev/null +++ b/.config/rdm/templates/provide.raku @@ -0,0 +1,15 @@ +#! /usr/bin/env false + +use v{{ meta.perl }}; + +{{ body }} + +=begin pod + +=NAME {{ this.provide }} +=AUTHOR Patrick Spek <p.spek@tyil.work> +=VERSION {{ meta.version }} + +=end pod + +# vim: ft=raku noet sw=8 ts=8 diff --git a/.config/rdm/templates/readme.rakudoc b/.config/rdm/templates/readme.rakudoc new file mode 100644 index 0000000..5234c71 --- /dev/null +++ b/.config/rdm/templates/readme.rakudoc @@ -0,0 +1,41 @@ +=begin pod + +=NAME {{ name }} +=AUTHOR {{ author }} +=VERSION {{ version }} + +=head1 Description + +{{ description }} + +=head1 Installation + +Install this module through L<zef|https://github.com/ugexe/zef>: + +=begin code :lang<sh> +zef install {{ name }} +=end code + +=head1 Documentation + +Documentation is written as L<Pod6|https://docs.raku.org/language/pod> +documents, and can be read with C<raku>'s C<--doc> option. + +=begin input +raku --doc {{ name }} +=end input + +At your option, you can also use prettier readers, such as +L<C<p6doc>|https://modules.raku.org/search/?q=p6doc> or +L<C<App::Rakuman>|https://modules.raku.org/dist/App::Rakuman:cpan:TYIL>. + +=begin input +p6doc {{ name }} +rakuman {{ name }} +=end input + +=head1 License + +This module is distributed under the terms of the {{ license }}. + +=end pod |