fn transform_input( input: InputResources, target_id: &TargetId, project_dir: &Path ) -> Result<(Resources, Vec<TargetId>)>