Add a :listeners configuration to listen to compilation events from the current and other operating system processes
Module
Mix.Project
16 changes across 8 versions
Changes by version
Support def cli to unify all CLI defaults in a single place
Add Mix.Project.deps_tree/1
:preferred_cli_env is deprecated in favor of :preferred_envs in def cli
:preferred_cli_target is deprecated in favor of :preferred_targets in def cli
Deprecate Mix.Project.compile/2 in favor of Mix.Task.run("compile", args)
Add MIX_DEPS_PATH environment variable for setting :deps_path
Add Mix.Project.deps_scms/1 that returns deps with their SCMs
Ensure user given :manager to dependencies has higher precedence than the SCM one
Recompile umbrella children when config files change and mix compile is called from the umbrella root
Add preferred_cli_target that works like preferred_cli_env
Deprecate Mix.Project.load_paths/1 in favor of Mix.Project.compile_path/1
Add :depth and :parents options to deps_paths/1
Add Mix.Project.clear_deps_cache/0
Add Mix.Project.config_mtime/0 that caches the config mtime values to avoid filesystem access
Only copy files from source when they're newer than destination (for Windows machines)