Skip to main content

detect_web_bin

Function detect_web_bin 

Source
pub fn detect_web_bin(project_root: &Path) -> Result<String>
Expand description

Resolve the web bin name using the D-02 4-step order:

  1. [package.metadata.ferro.deploy].web_bin explicit override
  2. The bin matching package.name
  3. The first declared [[bin]]
  4. Fall back to package.name if no [[bin]] is declared