This fixes an issue where the snippet file location would not be the proper one for compiled extensions because it would be populated with an absolute path instead of a relative one in relation to the extension output directory. This caused the copy operation downstream to not do anything, because it copied the file to the location it already was (which was not the output directory for that extension). Also adds some tests and pulls in the `Fs` so we do not have such issues with snippets a third time hopefully. Release Notes: - N/A
45 lines
982 B
TOML
45 lines
982 B
TOML
[package]
|
|
name = "extension"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/extension.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-trait.workspace = true
|
|
collections.workspace = true
|
|
dap.workspace = true
|
|
fs.workspace = true
|
|
futures.workspace = true
|
|
gpui.workspace = true
|
|
heck.workspace = true
|
|
http_client.workspace = true
|
|
language.workspace = true
|
|
log.workspace = true
|
|
lsp.workspace = true
|
|
parking_lot.workspace = true
|
|
proto.workspace = true
|
|
semver.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
task.workspace = true
|
|
toml.workspace = true
|
|
url.workspace = true
|
|
util.workspace = true
|
|
wasm-encoder.workspace = true
|
|
wasmparser.workspace = true
|
|
|
|
[dev-dependencies]
|
|
fs = { workspace = true, "features" = ["test-support"] }
|
|
gpui = { workspace = true, "features" = ["test-support"] }
|
|
indoc.workspace = true
|
|
pretty_assertions.workspace = true
|
|
tempfile.workspace = true
|