This commit is contained in:
2025-08-27 07:44:17 +02:00
commit b8af167287
8 changed files with 117 additions and 0 deletions

18
lib/exproj.ex Normal file
View File

@@ -0,0 +1,18 @@
defmodule Exproj do
@moduledoc """
Documentation for `Exproj`.
"""
@doc """
Hello world.
## Examples
iex> Exproj.hello()
:world
"""
def hello do
:world
end
end

9
lib/mix/tasks/hello.ex Normal file
View File

@@ -0,0 +1,9 @@
defmodule Mix.Tasks.Hello do
@moduledoc "Prints a greeting: `mix help hello`"
use Mix.Task
@shortdoc "Prints 'hello' to the console"
def run(_args) do
IO.puts("hello")
end
end