pub fn add_resource(
file: &str,
target: ResourceTarget,
name: Option<&str>,
) -> Result<PathBuf, ZigError>Expand description
Copy a file into the chosen tier directory, optionally renaming it.
Returns the absolute path of the destination file. Refuses to overwrite an
existing file (the user must zig resources delete <name> first).