aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-07-17 11:31:13 +0200
committerPatrick Spek <p.spek@tyil.nl>2021-08-14 11:59:40 +0200
commit48508c1d2e18b2bc2e6d75697b46189b0bafc98d (patch)
tree22b3bfa4e81b0e81d6967fdec6e81db64044dc61 /.config
parentca69a254f8351e0a23c86ee8075a33ec8c7e7503 (diff)
Rename rdm configs to rakumod configs
Diffstat (limited to '.config')
-rw-r--r--.config/rakumod/config.toml (renamed from .config/rdm/config.toml)0
-rw-r--r--.config/rakumod/templates/kinds/class.raku1
-rw-r--r--.config/rakumod/templates/kinds/exception.raku6
-rw-r--r--.config/rakumod/templates/kinds/grammar.raku (renamed from .config/rdm/templates/kinds/grammar.raku)0
-rw-r--r--.config/rakumod/templates/kinds/main.raku7
-rw-r--r--.config/rakumod/templates/kinds/module.raku1
6 files changed, 15 insertions, 0 deletions
diff --git a/.config/rdm/config.toml b/.config/rakumod/config.toml
index ec5d460..ec5d460 100644
--- a/.config/rdm/config.toml
+++ b/.config/rakumod/config.toml
diff --git a/.config/rakumod/templates/kinds/class.raku b/.config/rakumod/templates/kinds/class.raku
new file mode 100644
index 0000000..d993fe0
--- /dev/null
+++ b/.config/rakumod/templates/kinds/class.raku
@@ -0,0 +1 @@
+unit class {{ this.provide }};
diff --git a/.config/rakumod/templates/kinds/exception.raku b/.config/rakumod/templates/kinds/exception.raku
new file mode 100644
index 0000000..32a607f
--- /dev/null
+++ b/.config/rakumod/templates/kinds/exception.raku
@@ -0,0 +1,6 @@
+unit class {{ this.provide }} is Exception;
+
+method message (
+ {{{ '-->' }}} Str
+) {
+}
diff --git a/.config/rdm/templates/kinds/grammar.raku b/.config/rakumod/templates/kinds/grammar.raku
index 83a89d5..83a89d5 100644
--- a/.config/rdm/templates/kinds/grammar.raku
+++ b/.config/rakumod/templates/kinds/grammar.raku
diff --git a/.config/rakumod/templates/kinds/main.raku b/.config/rakumod/templates/kinds/main.raku
new file mode 100644
index 0000000..be0dced
--- /dev/null
+++ b/.config/rakumod/templates/kinds/main.raku
@@ -0,0 +1,7 @@
+unit module {{ this.provide }};
+
+#| Nondescript.
+sub MAIN (
+) is export {
+ …
+}
diff --git a/.config/rakumod/templates/kinds/module.raku b/.config/rakumod/templates/kinds/module.raku
new file mode 100644
index 0000000..2b6042c
--- /dev/null
+++ b/.config/rakumod/templates/kinds/module.raku
@@ -0,0 +1 @@
+unit module {{ this.provide }};