Skip to content

Commit

Permalink
Publishing docs using it's own mix env
Browse files Browse the repository at this point in the history
  • Loading branch information
sheharyarn committed Sep 9, 2018
1 parent 1cef7c5 commit dc3764a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mix.exs
Expand Up @@ -7,6 +7,15 @@ defmodule Que.Mixfile do
@github "https://github.com/sheharyarn/#{@app}"


# NOTE:
# To publish package or update docs, use the `docs`
# mix environment to not include support modules
# that are normally included in the `dev` environment
#
# MIX_ENV=docs hex.publish
#


def project do
[
# Project
Expand Down Expand Up @@ -43,7 +52,7 @@ defmodule Que.Mixfile do
[
{:memento, "~> 0.2.1" },
{:ex_utils, "~> 0.1.6" },
{:ex_doc, ">= 0.0.0", only: :dev },
{:ex_doc, ">= 0.0.0", only: :docs },
{:inch_ex, ">= 0.0.0", only: :docs },
]
end
Expand Down

0 comments on commit dc3764a

Please sign in to comment.