mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-11-28 21:20:23 +03:00
0035c29fc1
This is an optimization for the release CI. The release CI can take a while since it compiles release builds for all operating systems. We cut down on duplicate work and overall time by fetching tree-sitter grammar repositories and then using those repositories in all later steps. Previously we built all of helix just to run helix_loader::grammar::fetch_grammars() which is wasteful on time. With this change we only build the helix-loader crate.
34 lines
721 B
TOML
34 lines
721 B
TOML
[package]
|
|
name = "helix-loader"
|
|
version = "0.6.0"
|
|
description = "A post-modern text editor."
|
|
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
|
|
edition = "2021"
|
|
license = "MPL-2.0"
|
|
categories = ["editor"]
|
|
repository = "https://github.com/helix-editor/helix"
|
|
homepage = "https://helix-editor.com"
|
|
|
|
[[bin]]
|
|
name = "hx-loader"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
toml = "0.5"
|
|
etcetera = "0.4"
|
|
tree-sitter = "0.20"
|
|
once_cell = "1.12"
|
|
|
|
log = "0.4"
|
|
|
|
# TODO: these two should be on !wasm32 only
|
|
|
|
# cloning/compiling tree-sitter grammars
|
|
cc = { version = "1" }
|
|
threadpool = { version = "1.0" }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
libloading = "0.7"
|