Skip to content

Commit a6bb6e3

Browse files
adkronConnorRigby
authored andcommitted
Allow building and publishing of docs on dev
`MIX_ENV=docs` was needed to build and publish docs. I moved it to the dev environment so we wouldn't need a special environment for tests. I also added `runtime: false` to make sure that it wouldn't do anything when starting the application. This also saves time by not having to recompile just to produces documentation. If dev is already compiled you don't have to wait again in a new environment. Amos King @adkron <[email protected]>
1 parent 3fccd9f commit a6bb6e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ defmodule Turbojpeg.MixProject do
3434
{:shmex, "~> 0.2.0"},
3535
{:bundlex, "~> 0.2.6"},
3636
{:membrane_core, "~> 0.5.0"},
37-
{:ex_doc, "~> 0.21.3", only: [:docs]}
37+
{:ex_doc, "~> 0.21.3", only: [:dev], runtime: false}
3838
]
3939
end
4040

0 commit comments

Comments
 (0)