Skip to content

Commit 237e5e4

Browse files
author
Jaremy J. Creechley
committed
rename
1 parent 321d7c1 commit 237e5e4

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# KioskTest
1+
# NervesWebKioskPlayground
22

33
**TODO: Add description**
44

config/config.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Config
88
# Enable the Nerves integration with Mix
99
Application.start(:nerves_bootstrap)
1010

11-
config :kiosk_test, target: Mix.target()
11+
config :nerves_web_kiosk_playground, target: Mix.target()
1212

1313
# Customize non-Elixir parts of the firmware. See
1414
# https://hexdocs.pm/nerves/advanced-configuration.html for details.

lib/kiosk_test.ex

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
defmodule KioskTest do
1+
defmodule NervesWebKioskPlayground do
22
@moduledoc """
3-
Documentation for KioskTest.
3+
Documentation for NervesWebKioskPlayground.
44
"""
55

66
@doc """
77
Hello world.
88
99
## Examples
1010
11-
iex> KioskTest.hello
11+
iex> NervesWebKioskPlayground.hello
1212
:world
1313
1414
"""

lib/kiosk_test/application.ex

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
defmodule KioskTest.Application do
1+
defmodule NervesWebKioskPlayground.Application do
22
# See https://hexdocs.pm/elixir/Application.html
33
# for more information on OTP Applications
44
@moduledoc false
@@ -23,7 +23,7 @@ defmodule KioskTest.Application do
2323

2424
def start(_type, _args) do
2525
# See https://hexdocs.pm/elixir/Supervisor.html
26-
opts = [strategy: :one_for_one, name: KioskTest.Supervisor]
26+
opts = [strategy: :one_for_one, name: NervesWebKioskPlayground.Supervisor]
2727

2828
children =
2929
[
@@ -36,7 +36,7 @@ defmodule KioskTest.Application do
3636
# List all child processes to be supervised
3737
def children(:host) do
3838
[
39-
# {KioskTest.Worker, arg},
39+
# {NervesWebKioskPlayground.Worker, arg},
4040
]
4141
end
4242

@@ -46,7 +46,7 @@ defmodule KioskTest.Application do
4646
end
4747

4848
def target() do
49-
Application.get_env(:kiosk_test, :target)
49+
Application.get_env(:nerves_web_kiosk_playground, :target)
5050
end
5151

5252
end

mix.exs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
defmodule KioskTest.MixProject do
1+
defmodule NervesWebKioskPlayground.MixProject do
22
use Mix.Project
33

4-
@app :kiosk_test
4+
@app :nerves_web_kiosk_playground
55
@version "0.1.0"
66
@all_targets [:rpi3, :rpi3a, :rpi4, :x86_64, :rpi4_kiosk]
77

@@ -22,7 +22,7 @@ defmodule KioskTest.MixProject do
2222
# Run "mix help compile.app" to learn about applications.
2323
def application do
2424
[
25-
mod: {KioskTest.Application, []},
25+
mod: {NervesWebKioskPlayground.Application, []},
2626
extra_applications: [:logger, :runtime_tools]
2727
]
2828
end

test/kiosk_test_test.exs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
defmodule KioskTestTest do
1+
defmodule NervesWebKioskPlaygroundTest do
22
use ExUnit.Case
3-
doctest KioskTest
3+
doctest NervesWebKioskPlayground
44

55
test "greets the world" do
6-
assert KioskTest.hello() == :world
6+
assert NervesWebKioskPlayground.hello() == :world
77
end
88
end

0 commit comments

Comments
 (0)