Skip to content

CLI can't be built if .git is missing (e.g. downloaded zip) #188

@iliana

Description

@iliana

oxide.rs/cli/build.rs

Lines 9 to 13 in 4d5d228

match built::util::get_repo_head(src.as_ref()) {
Ok(Some((_branch, _commit, _commit_short))) => (),
Ok(None) => panic!("Error: Build script could not find git commit information"),
Err(e) => panic!("Build script error: {}", e),
};

This will eventually be a pain for downstream distribution packagers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions