diff --git a/apps/cf_wall/README.md b/apps/cf_wall/README.md index ce3301581..72e7c74d5 100644 --- a/apps/cf_wall/README.md +++ b/apps/cf_wall/README.md @@ -1,21 +1,21 @@ -# SystemEngine +# CfWall **TODO: Add description** ## Installation If [available in Hex](https://hex.pm/docs/publish), the package can be installed -by adding `system_engine` to your list of dependencies in `mix.exs`: +by adding `cf_wall` to your list of dependencies in `mix.exs`: ```elixir def deps do [ - {:system_engine, "~> 0.1.0"} + {:cf_wall, "~> 0.1.0"} ] end ``` Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc) and published on [HexDocs](https://hexdocs.pm). Once published, the docs can -be found at [https://hexdocs.pm/system_engine](https://hexdocs.pm/system_engine). +be found at [https://hexdocs.pm/cf_wall](https://hexdocs.pm/cf_wall). diff --git a/apps/cf_wall/lib/cf_wall.ex b/apps/cf_wall/lib/cf_wall.ex index 1501c5498..9b72399eb 100644 --- a/apps/cf_wall/lib/cf_wall.ex +++ b/apps/cf_wall/lib/cf_wall.ex @@ -1,6 +1,6 @@ -defmodule SystemEngine do +defmodule CfWall do @moduledoc """ - Documentation for SystemEngine. + Documentation for CfWall. """ @doc """ @@ -8,7 +8,7 @@ defmodule SystemEngine do ## Examples - iex> SystemEngine.hello() + iex> CfWall.hello() :world """ diff --git a/apps/cf_wall/lib/cf_wall/application.ex b/apps/cf_wall/lib/cf_wall/application.ex index b7b06dd5b..0052ff905 100644 --- a/apps/cf_wall/lib/cf_wall/application.ex +++ b/apps/cf_wall/lib/cf_wall/application.ex @@ -1,4 +1,4 @@ -defmodule SystemEngine.Application do +defmodule CfWall.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false @@ -7,13 +7,13 @@ defmodule SystemEngine.Application do def start(_type, _args) do children = [ - # Starts a worker by calling: SystemEngine.Worker.start_link(arg) - # {SystemEngine.Worker, arg} + # Starts a worker by calling: CfWall.Worker.start_link(arg) + # {CfWall.Worker, arg} ] # See https://hexdocs.pm/elixir/Supervisor.html # for other strategies and supported options - opts = [strategy: :one_for_one, name: SystemEngine.Supervisor] + opts = [strategy: :one_for_one, name: CfWall.Supervisor] Supervisor.start_link(children, opts) end end diff --git a/apps/cf_wall/mix.exs b/apps/cf_wall/mix.exs index a0a48876f..f43cb577b 100644 --- a/apps/cf_wall/mix.exs +++ b/apps/cf_wall/mix.exs @@ -1,9 +1,9 @@ -defmodule SystemEngine.MixProject do +defmodule CfWall.MixProject do use Mix.Project def project do [ - app: :system_engine, + app: :cf_wall, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", @@ -19,7 +19,7 @@ defmodule SystemEngine.MixProject do def application do [ extra_applications: [:logger], - mod: {SystemEngine.Application, []} + mod: {CfWall.Application, []} ] end diff --git a/apps/cf_wall/test/cf_wall_test.exs b/apps/cf_wall/test/cf_wall_test.exs index be1a82cfb..6280b3659 100644 --- a/apps/cf_wall/test/cf_wall_test.exs +++ b/apps/cf_wall/test/cf_wall_test.exs @@ -1,8 +1,8 @@ -defmodule SystemEngineTest do +defmodule CfWallTest do use ExUnit.Case - doctest SystemEngine + doctest CfWall test "greets the world" do - assert SystemEngine.hello() == :world + assert CfWall.hello() == :world end end diff --git a/mix.exs b/mix.exs index 2b789029e..e8da2545f 100644 --- a/mix.exs +++ b/mix.exs @@ -13,8 +13,8 @@ defmodule CloudfireUmbrella.MixProject do include_executables_for: [:unix], cookie: System.get_env("ERL_COOKIE") ], - system_engine: [ - applications: [system_engine: :permanent], + cf_wall: [ + applications: [cf_wall: :permanent], include_executables_for: [:unix], cookie: System.get_env("ERL_COOKIE") ]