-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
An alternative approach for #172. This replaces the `git2` dependency with `git-version` which uses the `git` binary directly at compile time. This means that: For dev builds, needs `git` binary: - There is a submodule checked out: version file is written to the `gen` folder. - There is no submodule checked out: the build fails with a hint to clone the submodule. For packaged builds (substrait is not included as a git submodule, see `Cargo.toml` includes), don't need a `git` binary: - The version file is in the `gen` folder: the build script skips the version generation part - The version file is missing: the build fails - the package is broken
- Loading branch information
Showing
4 changed files
with
52 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters