在Elixir上工作时我遇到了一些问题.这是我的mix.exs......
defmodule FlockTest.Mixfile do
use Mix.Project
def project do
[app: :flock_test,
version: "0.1.0",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps()]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[
extra_applications: [:logger],
mod: {FlockTest, []}
]
end
...
...
Run Code Online (Sandbox Code Playgroud)
这是代码FlockTest.
defmodule FlockTest do
@moduledoc """
Documentation for FlockTest.
"""
def start(_type, _args) …Run Code Online (Sandbox Code Playgroud)