Add an example controller for hardware switch test
This commit is contained in:
parent
cfc2152b7d
commit
f2297c551a
16 changed files with 501 additions and 50 deletions
22
examples/heckle/mix.exs
Normal file
22
examples/heckle/mix.exs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
defmodule Heckle.Mixfile do
|
||||
use Mix.Project
|
||||
|
||||
@tres_path "../../../tres"
|
||||
|
||||
def project do
|
||||
[app: :heckle,
|
||||
version: "0.1.0",
|
||||
elixir: "~> 1.5",
|
||||
start_permanent: Mix.env == :prod,
|
||||
deps: deps()]
|
||||
end
|
||||
|
||||
def application do
|
||||
[extra_applications: [:logger, :tres],
|
||||
mod: {Heckle.Application, []}]
|
||||
end
|
||||
|
||||
defp deps do
|
||||
[{:tres, path: @tres_path}]
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue