diff --git a/index.exs b/index.exs index c47ad37..ab8a8fc 100644 --- a/index.exs +++ b/index.exs @@ -1,9 +1,21 @@ -# Pendefinisian fungsi -defmodule MyModule do - def my_function(x) do - IO.puts "Nilai yang diterima: #{x}" +defmodule Elix.Mixfile do + use Mix.Project + + def project do + [app: :botMessage, + version: "0.1.0", + elixir: "~> 1.14.5", + elixirc_paths: elixirc_paths(Mix.env), + build_embedded: Mix.env == :prod, + start_permanent: Mix.env == :prod, + deps: deps()] end -end -# Panggil fungsi -MyModule.my_function(32) + + def application do + [ + mod: {Elix, []}, + extra_applications: [:logger] + ] + end +end