Packages

This library provided mix task `check_module_attrs` which will check for module attributes being set to values from `config/releases.exs`. This will fail in production and must be avoided.

Current section

Files

Jump to
check_module_attrs lib check_module_attrs.ex
Raw

lib/check_module_attrs.ex

defmodule CheckModuleAttrs do
def pmap(collection, func) do
collection
|> Enum.map(&Task.async(fn -> func.(&1) end))
|> Enum.map(&Task.await/1)
end
end