-
Notifications
You must be signed in to change notification settings - Fork 27
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 #44 from kianmeng/misc-doc-changes
Misc doc changes
- Loading branch information
Showing
6 changed files
with
110 additions
and
49 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# Used by "mix format" | ||
[ | ||
inputs: ["mix.exs", "{lib,test}/**/*.{ex,exs}"], | ||
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] | ||
] |
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,7 +1,29 @@ | ||
/ebin | ||
/deps | ||
/doc | ||
/mix.lock | ||
# The directory Mix will write compiled artifacts to. | ||
/_build/ | ||
|
||
# If you run "mix test --cover", coverage assets end up here. | ||
/cover/ | ||
|
||
# The directory Mix downloads your dependencies sources to. | ||
/deps/ | ||
|
||
# Where third-party dependencies like ExDoc output generated docs. | ||
/doc/ | ||
|
||
# Ignore .fetch files in case you like to edit your project deps locally. | ||
/.fetch | ||
|
||
# If the VM crashes, it generates a dump, let's ignore it too. | ||
erl_crash.dump | ||
|
||
# Also ignore archive artifacts (built via "mix archive.build"). | ||
*.ez | ||
_build | ||
|
||
# Ignore package tarball (built via "mix hex.build"). | ||
dotenv-*.tar | ||
|
||
# Temporary files for e.g. tests. | ||
/tmp/ | ||
|
||
# Misc. | ||
mix.lock |
File renamed without changes.
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,39 +1,61 @@ | ||
defmodule DotenvElixir.Mixfile do | ||
use Mix.Project | ||
|
||
@source_url "https://github.com/avdi/dotenv_elixir" | ||
@version "3.1.0" | ||
|
||
def project do | ||
[ | ||
app: :dotenv, | ||
version: "3.1.0", | ||
version: @version, | ||
elixir: "~> 1.0", | ||
deps: deps(), | ||
package: [ | ||
maintainers: ["Jared Norman"], | ||
contributors: [ | ||
"Avdi Grimm", | ||
"David Rouchy", | ||
"Jared Norman", | ||
"Louis Simoneau", | ||
"Michael Bianco" | ||
], | ||
links: %{github: "https://github.com/avdi/dotenv_elixir"}, | ||
licenses: ["MIT"] | ||
], | ||
description: "A port of dotenv to Elixir" | ||
docs: docs(), | ||
package: package() | ||
] | ||
end | ||
|
||
# Configuration for the OTP application | ||
def application do | ||
[mod: {Dotenv, [:automatic]}] | ||
[ | ||
mod: {Dotenv, [:automatic]} | ||
] | ||
end | ||
|
||
# Returns the list of dependencies in the format: | ||
# { :foobar, git: "https://github.com/elixir-lang/foobar.git", tag: "0.1" } | ||
# | ||
# To specify particular versions, regardless of the tag, do: | ||
# { :barbat, "~> 0.1", github: "elixir-lang/barbat.git" } | ||
defp deps do | ||
[{:ex_doc, ">= 0.0.0", only: :dev}] | ||
[ | ||
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false} | ||
] | ||
end | ||
|
||
defp docs do | ||
[ | ||
extras: [ | ||
"LICENSE.md": [title: "License"], | ||
"README.md": [title: "Overview"] | ||
], | ||
main: "readme", | ||
source_url: @source_url, | ||
source_ref: "v#{@version}", | ||
formatters: ["html"] | ||
] | ||
end | ||
|
||
defp package do | ||
[ | ||
description: "A port of dotenv to Elixir", | ||
maintainers: ["Jared Norman"], | ||
contributors: [ | ||
"Avdi Grimm", | ||
"David Rouchy", | ||
"Jared Norman", | ||
"Louis Simoneau", | ||
"Michael Bianco" | ||
], | ||
licenses: ["MIT"], | ||
links: %{ | ||
GitHub: @source_url | ||
} | ||
] | ||
end | ||
end |