Merge pull request #1 from CloudFire-LLC/rename-firewall-daemon-to-system-engine

Rename firewall daemon to system engine
This commit is contained in:
Jamil
2020-04-22 21:31:22 -07:00
committed by GitHub
10 changed files with 22 additions and 19 deletions

3
.gitignore vendored
View File

@@ -35,3 +35,6 @@ npm-debug.log
# we ignore priv/static. You may want to comment
# this depending on your deployment strategy.
/priv/static/
# ElixirLS generates an .elixir_ls folder for user settings
.elixir_ls

View File

@@ -1,8 +0,0 @@
defmodule FirewallDaemonTest do
use ExUnit.Case
doctest FirewallDaemon
test "greets the world" do
assert FirewallDaemon.hello() == :world
end
end

View File

@@ -1,4 +1,4 @@
# FirewallDaemon
# SystemEngine
**TODO: Add description**

View File

@@ -1,6 +1,6 @@
defmodule FirewallDaemon do
defmodule SystemEngine do
@moduledoc """
Documentation for FirewallDaemon.
Documentation for SystemEngine.
"""
@doc """
@@ -8,7 +8,7 @@ defmodule FirewallDaemon do
## Examples
iex> FirewallDaemon.hello()
iex> SystemEngine.hello()
:world
"""

View File

@@ -1,4 +1,4 @@
defmodule FirewallDaemon.Application do
defmodule SystemEngine.Application do
# See https://hexdocs.pm/elixir/Application.html
# for more information on OTP Applications
@moduledoc false
@@ -7,13 +7,13 @@ defmodule FirewallDaemon.Application do
def start(_type, _args) do
children = [
# Starts a worker by calling: FirewallDaemon.Worker.start_link(arg)
# {FirewallDaemon.Worker, arg}
# Starts a worker by calling: SystemEngine.Worker.start_link(arg)
# {SystemEngine.Worker, arg}
]
# See https://hexdocs.pm/elixir/Supervisor.html
# for other strategies and supported options
opts = [strategy: :one_for_one, name: FirewallDaemon.Supervisor]
opts = [strategy: :one_for_one, name: SystemEngine.Supervisor]
Supervisor.start_link(children, opts)
end
end

View File

@@ -1,9 +1,9 @@
defmodule FirewallDaemon.MixProject do
defmodule SystemEngine.MixProject do
use Mix.Project
def project do
[
app: :firewall_daemon,
app: :system_engine,
version: "0.1.0",
build_path: "../../_build",
config_path: "../../config/config.exs",
@@ -19,7 +19,7 @@ defmodule FirewallDaemon.MixProject do
def application do
[
extra_applications: [:logger],
mod: {FirewallDaemon.Application, []}
mod: {SystemEngine.Application, []}
]
end

View File

@@ -0,0 +1,8 @@
defmodule SystemEngineTest do
use ExUnit.Case
doctest SystemEngine
test "greets the world" do
assert SystemEngine.hello() == :world
end
end