mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
95dfa8b8cf
Cuz ew. What could be more ew? Not this really.
Clearly using update-source-version (bash) from a different lang
is better? 😜️
29 lines
567 B
Elixir
29 lines
567 B
Elixir
defmodule NixpkgsGitHubUpdate.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :nixpkgs_github_update,
|
|
version: "0.1.0",
|
|
elixir: "~> 1.9",
|
|
escript: [main_module: NixpkgsGitHubUpdate.CLI],
|
|
start_permanent: Mix.env() == :prod,
|
|
deps: deps()
|
|
]
|
|
end
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
def application do
|
|
[
|
|
extra_applications: [:logger, :inets, :ssl]
|
|
]
|
|
end
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
defp deps do
|
|
[
|
|
{:poison, "~> 4.0.1"}
|
|
]
|
|
end
|
|
end
|