Add simple LearningSwitch Example
This commit is contained in:
parent
ab21f6e240
commit
f2768496c8
11 changed files with 334 additions and 0 deletions
23
examples/learning_switch/mix.exs
Normal file
23
examples/learning_switch/mix.exs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
defmodule LearningSwitch.Mixfile do
|
||||
use Mix.Project
|
||||
|
||||
def project do
|
||||
[
|
||||
app: :learning_switch,
|
||||
version: "0.1.0",
|
||||
elixir: "~> 1.5",
|
||||
start_permanent: Mix.env == :prod,
|
||||
deps: deps()
|
||||
]
|
||||
end
|
||||
|
||||
# Run "mix help compile.app" to learn about applications.
|
||||
def application do
|
||||
[extra_applications: [:logger, :tres],
|
||||
mod: {LearningSwitch.Application, []}]
|
||||
end
|
||||
|
||||
defp deps do
|
||||
[{:tres, path: "../../../tres"}]
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue