-
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.
Merge pull request #94 from kianmeng/misc-doc-changes
Misc doc changes
- Loading branch information
Showing
7 changed files
with
69 additions
and
83 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
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
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,3 +1,5 @@ | ||
# Contributing | ||
|
||
Test before merge. | ||
|
||
```sh | ||
|
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
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
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,46 +1,38 @@ | ||
defmodule KomachiHeartbeat.MixProject do | ||
use Mix.Project | ||
|
||
@github "https://github.com/ne-sachirou/ex_komachi_heartbeat" | ||
@source_url "https://github.com/ne-sachirou/ex_komachi_heartbeat" | ||
@version "0.5.1" | ||
|
||
def project do | ||
[ | ||
app: :komachi_heartbeat, | ||
version: @version, | ||
elixir: "~> 1.8", | ||
start_permanent: Mix.env() == :prod, | ||
deps: deps(), | ||
description: "Vital monitoring Elixir Web application.", | ||
docs: docs(), | ||
package: package(), | ||
test_coverage: [tool: ExCoveralls], | ||
dialyzer: [ | ||
plt_add_apps: [:inets, :mix], | ||
flags: [:no_undefined_callbacks], | ||
remove_defaults: [:unknown] | ||
], | ||
elixir: "~> 1.8", | ||
package: package(), | ||
preferred_cli_env: [ | ||
coveralls: :test, | ||
"coveralls.detail": :test, | ||
"coveralls.github": :test, | ||
"coveralls.html": :test | ||
], | ||
start_permanent: Mix.env() == :prod, | ||
test_coverage: [tool: ExCoveralls], | ||
version: "0.5.1", | ||
|
||
# Docs | ||
docs: [ | ||
main: "readme", | ||
extras: ["README.md"] | ||
], | ||
homepage_url: @github, | ||
name: "KomachiHeartbeat", | ||
source_url: @github | ||
] | ||
] | ||
end | ||
|
||
def application, do: [extra_applications: [:logger]] | ||
|
||
defp deps do | ||
[ | ||
{:ex_doc, "~> 0.18", only: :dev, runtime: false}, | ||
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}, | ||
{:inner_cotton, github: "ne-sachirou/inner_cotton", only: [:dev, :test]}, | ||
{:jason, "~> 1.0", optional: true}, | ||
{:mock, "~> 0.3", only: :test}, | ||
|
@@ -51,11 +43,33 @@ defmodule KomachiHeartbeat.MixProject do | |
|
||
def package do | ||
[ | ||
files: ["LICENSE", "README.md", "mix.exs", "lib/*.ex", "lib/komachi_heartbeat"], | ||
name: :komachi_heartbeat, | ||
description: "Vital monitoring Elixir Web application.", | ||
licenses: ["GPL-3.0-or-later"], | ||
links: %{GitHub: @github}, | ||
maintainers: ["ne_Sachirou <[email protected]>"], | ||
name: :komachi_heartbeat | ||
files: [ | ||
"LICENSE", | ||
"README.md", | ||
"mix.exs", | ||
"lib/*.ex", | ||
"lib/komachi_heartbeat" | ||
], | ||
links: %{GitHub: @source_url} | ||
] | ||
end | ||
|
||
defp docs do | ||
[ | ||
extras: [ | ||
"CONTRIBUTING.md": [title: "Contributing"], | ||
"LICENSE": [title: "License"], | ||
"README.md": [title: "Overview"] | ||
], | ||
main: "readme", | ||
homepage_url: @source_url, | ||
source_url: @source_url, | ||
source_ref: "v#{@version}", | ||
formatters: ["html"] | ||
] | ||
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