Skip to content

Commit

Permalink
Release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Feb 1, 2024
1 parent 0466af6 commit e290b00
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# mix github_workflows.generate

[![hex.pm badge](https://img.shields.io/badge/hex.pm-5e3e80)](https://hex.pm/packages/github_workflows_generator)
[![hexdocs.pm badge](https://img.shields.io/badge/hexdocs.pm-5681bf)](https://hexdocs.pm/github_workflows_generator)

## Installation

Add `github_workflows_generator` to your list of dependencies in `mix.exs`:
Expand Down
32 changes: 27 additions & 5 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
defmodule GithubWorkflowsGenerator.MixProject do
use Mix.Project

@repo "https://github.com/optimumBA/github_workflows_generator"
@version "0.1.0"

def project do
[
app: :github_workflows_generator,
Expand All @@ -9,6 +12,8 @@ defmodule GithubWorkflowsGenerator.MixProject do
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),

# Code checks
preferred_cli_env: [
ci: :test,
coveralls: :test,
Expand All @@ -22,13 +27,15 @@ defmodule GithubWorkflowsGenerator.MixProject do
plt_add_apps: [:ex_unit, :mix],
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
],

# Docs
name: "GithubWorkflowsGenerator",
source_url: "https://github.com/optimumBA/github_workflows_generator",
docs: [
main: "Mix.Tasks.GithubWorkflows.Generate",
source_ref: "main"
]
source_url: @repo,
docs: docs(),

# Hex package
description: "Generate GitHub Actions workflows",
package: package()
]
end

Expand All @@ -39,6 +46,21 @@ defmodule GithubWorkflowsGenerator.MixProject do
]
end

defp docs do
[
main: "Mix.Tasks.GithubWorkflows.Generate",
source_ref: "v#{@version}"
]
end

defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => @repo},
maintainers: ["Almir Sarajčić"]
]
end

# Run "mix help deps" to learn about dependencies.
defp deps do
[
Expand Down

0 comments on commit e290b00

Please sign in to comment.