-
-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cargo): improve handling of git-based crates
This is all pretty overkill, especially considering the small amount of packages based on git-based crates.
- Loading branch information
1 parent
45606b0
commit 1b8d00b
Showing
11 changed files
with
369 additions
and
86 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
local Pkg = require "mason-core.package" | ||
local cargo = require "mason-core.managers.cargo" | ||
|
||
local github_url = "https://github.com/wgsl-analyzer/wgsl-analyzer" | ||
|
||
return Pkg.new { | ||
name = "wgsl-analyzer", | ||
desc = [[A language server implementation for the WGSL shading language]], | ||
homepage = github_url, | ||
homepage = "https://github.com/wgsl-analyzer/wgsl-analyzer", | ||
languages = { Pkg.Lang.WGSL }, | ||
categories = { Pkg.Cat.LSP }, | ||
install = cargo.crate("wgsl_analyzer", { | ||
git = github_url, | ||
git = { | ||
url = "https://github.com/wgsl-analyzer/wgsl-analyzer", | ||
tag = true, | ||
}, | ||
bin = { "wgsl_analyzer" }, | ||
}), | ||
} |
Oops, something went wrong.