[英]Hex tasks not found in list of mix tasks
I have a very simple project and I am trying to publish the first version to hex.我有一个非常简单的项目,我正在尝试将第一个版本发布为十六进制。 However I cannot run the hex.publish task.但是我无法运行hex.publish任务。
I get the error ** (Mix) The task "hex.publish" could not be found.我收到错误**(混合)找不到任务“hex.publish”。
I am following these hex instructions .我正在遵循这些十六进制说明。
My mix.exs
file looks like the following.我的mix.exs
文件如下所示。
defmodule Ace.Mixfile do
use Mix.Project
def project do
[app: :ace,
version: "0.2.0",
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
end
def application do
[
applications: [:logger],
mod: {Ace, []}
]
end
defp deps do
[]
end
end
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.