Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a package depending on zls to skip 'git describe' #2159

Closed
wants to merge 1 commit into from

Conversation

pfgithub
Copy link

This lets someone build zls as a dependency of another package with b.installArtifact(b.dependency("zls", .{ .target = target, .optimize = optimize, .@"commit-hash" = @as([]const u8, "HASH") }).artifact("zls")) without requiring git or erroring if the git output isn't as expected

@Techatrix
Copy link
Member

I would rather have a build option to specify the entire version string (See #2183). It can be used to also specify the pre release version to check whether nightly versions are older or newer than each other.

@Techatrix Techatrix closed this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants