View Source Jellyfish.Releases.Helper (Jellyfish v0.2.4)

Helper functions for managing dependencies in release builds.

This module provides utilities to filter and identify production dependencies from a Mix project's dependency list, which is useful when creating releases or analyzing which dependencies will be included in production environments.

Summary

Functions

Filters a list of dependencies to return only those that should be included in production.

Functions

@spec prod_dependencies(list()) :: [atom()]

Filters a list of dependencies to return only those that should be included in production.

This function analyzes dependency specifications and their options to determine which dependencies are actually needed in a production release. It considers various dependency options such as :runtime, :only, :in_umbrella, :compile, and :app to make this determination.

For more information about Mix dependencies, see: https://hexdocs.pm/mix/Mix.Tasks.Deps.html