This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,42 @@ | ||
defmodule Umbrella.MixProject do | ||
use Mix.Project | ||
|
||
@deps [ | ||
{:pkg_deb, "~> 0.3"}, | ||
{:cowlib, "~> 2.9.1", override: true} | ||
] | ||
|
||
def project do | ||
[ | ||
apps_path: "apps", | ||
start_permanent: Mix.env() == :prod, | ||
deps: deps() | ||
deps: @deps, | ||
version: File.read!("VERSION") |> String.trim(), | ||
releases: [ | ||
vind: [ | ||
include_executables_for: [:unix], | ||
applications: [ | ||
runtime_tools: :permanent, | ||
api: :permanent, | ||
frontend: :permanent, | ||
database: :permanent, | ||
graph: :permanent | ||
], | ||
steps: [:assemble, &PkgDeb.create(&1, deb_config())] | ||
] | ||
] | ||
] | ||
end | ||
|
||
# Dependencies listed here are available only for this | ||
# project and cannot be accessed from applications inside | ||
# the apps folder. | ||
# | ||
# Run "mix help deps" for examples and options. | ||
defp deps do | ||
defp deb_config() do | ||
[ | ||
{:cowlib, "~> 2.9.1", override: true} | ||
|
||
vendor: "Joakim Nylén", | ||
maintainers: ["Joakim Nylén <[email protected]>"], | ||
homepage: "https://metagraph.wiki", | ||
base_path: "/opt", | ||
external_dependencies: [], | ||
owner: [user: "ubuntu", group: "ftpgroup"], | ||
description: "Metagraph Application" | ||
] | ||
end | ||
end |
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