compile_path
mix.exsの設定について混乱しています。以下のような設定で:
defmodule MyProject.Mixfile do
use Mix.Project
def project do
[ app: :my_project,
version: "0.0.1",
elixir: "~> 0.12.0",
deps: deps,
escript_main_module: MyProject,
compile_path: "ebing/ew/ebin"]
end
# Configuration for the OTP application
def application do
[]
end
# Returns the list of dependencies in the format:
# { :foobar, git: "https://github.com/elixir-lang/foobar.git", tag: "0.1" }
#
# To specify particular versions, regardless of the tag, do:
# { :barbat, "~> 0.1", github: "elixir-lang/barbat" }
defp deps do
[]
end
end
compile_path を使用して実行した後mix compile
も、ディレクトリ ebing/we/ebin が見つかりません。最初にディレクトリを作成しようとしましたが、まだ空です。私も試しmix compile --force
てみましたが、それでもデフォルトのディレクトリにビルドされます。
誰かが設定の理解を助けることができますかcompile_path
?