From 8f8e8270f413cb73d5658261e8821615f2ca16ed Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Fri, 20 Sep 2024 14:57:20 -0500 Subject: Elixir: Use src/ instead of lib/ Signed-off-by: Matt Strapp --- lib/locusts.ex | 19 ------------------- mix.exs | 4 +++- src/locusts.ex | 19 +++++++++++++++++++ 3 files changed, 22 insertions(+), 20 deletions(-) delete mode 100644 lib/locusts.ex create mode 100644 src/locusts.ex diff --git a/lib/locusts.ex b/lib/locusts.ex deleted file mode 100644 index fdcbc0f..0000000 --- a/lib/locusts.ex +++ /dev/null @@ -1,19 +0,0 @@ -defmodule Locusts do - @moduledoc """ - Documentation for `Locusts`. - """ - - @doc """ - Introduce locusts into your codebase. - - Note that locusts are not included with this package, you must provide your own. - - ## Examples - - iex> Locusts.introduce_locusts() - nil - - """ - def introduce_locusts do - end -end diff --git a/mix.exs b/mix.exs index de02d08..1841131 100644 --- a/mix.exs +++ b/mix.exs @@ -12,7 +12,9 @@ defmodule Locusts.MixProject do name: "Locusts", description: "A BEAM library that introduces locusts into your codebase.", source_url: "https://github.com/locusts-r-us/locusts", - test_paths: ["tests/"] + test_paths: ["tests"], + elixirc_paths: ["src"], + ] end diff --git a/src/locusts.ex b/src/locusts.ex new file mode 100644 index 0000000..fdcbc0f --- /dev/null +++ b/src/locusts.ex @@ -0,0 +1,19 @@ +defmodule Locusts do + @moduledoc """ + Documentation for `Locusts`. + """ + + @doc """ + Introduce locusts into your codebase. + + Note that locusts are not included with this package, you must provide your own. + + ## Examples + + iex> Locusts.introduce_locusts() + nil + + """ + def introduce_locusts do + end +end -- cgit v1.2.3