This commit is contained in:
Timofey Khoruzhii 2023-04-16 21:24:44 +03:00
commit 60668c58f9
3 changed files with 19 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
_build

5
lib/main.ex Normal file
View file

@ -0,0 +1,5 @@
defmodule HelloWorld do
def hello_world(name) do
IO.puts "Hello, World! #{name}"
end
end

13
mix.exs Normal file
View file

@ -0,0 +1,13 @@
defmodule HelloWorld.Mixfile do
use Mix.Project
def project do
[
app: :my_app,
version: "0.1.0",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: []
]
end
end