mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Rename system_engine -> cf_wall
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
"""
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
4
mix.exs
4
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")
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user