Add an example controller for hardware switch test

This commit is contained in:
Eishun Kondoh 2017-12-01 11:11:11 +09:00
parent cfc2152b7d
commit f2297c551a
16 changed files with 501 additions and 50 deletions

22
examples/heckle/mix.exs Normal file
View 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