Created
September 14, 2021 22:30
-
-
Save linkdd/d49c9afce54e66e2a0af5a6b32ade6cd to your computer and use it in GitHub Desktop.
Sample Mix project configuration with datapio_cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule MyApp.MixProject do | |
use Mix.Project | |
def project do | |
[ | |
app: :my_app, | |
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, :datapio_cluster], | |
mod: {MyApp.Application, []} | |
] | |
end | |
# Run "mix help deps" to learn about dependencies. | |
defp deps do | |
[ | |
{ | |
:datapio_cluster, | |
github: "datapio/opencore", | |
ref: "main", | |
sparse: "apps/datapio_cluster" | |
} | |
] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment