From e2daafe834343c1a3565c4435f7c0e3b7a96f88b Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Sun, 26 Jan 2020 01:34:24 +0900 Subject: Add elixer --- template/elixer/base-main.exs | 5 +++++ template/erlang/base-main.erl | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 template/elixer/base-main.exs create mode 100644 template/erlang/base-main.erl diff --git a/template/elixer/base-main.exs b/template/elixer/base-main.exs new file mode 100644 index 0000000..300393a --- /dev/null +++ b/template/elixer/base-main.exs @@ -0,0 +1,5 @@ +defmodule {{_name_}} do + def {{_input_:func}} do + IO.puts "{{_cursor_}}" + end +end diff --git a/template/erlang/base-main.erl b/template/erlang/base-main.erl new file mode 100644 index 0000000..addb0b4 --- /dev/null +++ b/template/erlang/base-main.erl @@ -0,0 +1,5 @@ +-module({{_name_:main}}). +-export([{{_name_:main}}/0]). + +{{_name_:main}}() -> + io:put_chars("{{_cursor_}}"). -- cgit v1.2.3-54-g00ecf