Trying to use local repository and step through adding local rep for dependencies
copied from git
ecto
to
C:\bwdata\elixirhttp\ora\deps\ecto
get following error on mix deps.get
** (SyntaxError) mix.exs:25: syntax error before: “C:/bwdata/elixirhttp/ora/ora_deps/ecto”
defmodule Ora.MixProject do
use Mix.Project
def project do
[
app: :ora,
version: "0.1.0",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :ecto, :jamdb_oracle],
mod: {Ora.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ecto,"~> 3.5.5",:path "C:/bwdata/elixirhttp/ora/ora_deps/ecto"}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
# "~> 3.0",
#{:jamdb_oracle, git: "https://github.com/erlangbureau/jamdb_oracle.git"},
# {:ecto, git: "https://github.com/elixir-ecto/ecto.git", tag: "3.5.5"}
#{:jamdb_oracle,:path "C:/bwdata/elixirhttp/ora/ora_deps"}
# "~>0.3.2",
]
end
end