Skip to content

Commit

Permalink
feat: Config builder
Browse files Browse the repository at this point in the history
  • Loading branch information
WillLillis committed Oct 28, 2024
1 parent d3ececb commit 1830edb
Show file tree
Hide file tree
Showing 7 changed files with 597 additions and 4 deletions.
77 changes: 77 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
resolver = "2"
members = ["asm-lsp", "asm_docs_parsing"]
members = ["asm-lsp", "asm-lsp-cfg", "asm_docs_parsing"]
default-members = ["asm-lsp"]

[workspace.package]
Expand All @@ -20,6 +20,8 @@ license = "BSD-2-Clause"
[workspace.dependencies]
anyhow = "1.0.86"
bincode = "1.3.3"
dirs = "5.0.1"
toml = "0.8.1"
serde = { version = "1.0.204", features = ["derive"] }

[workspace.lints.clippy]
Expand Down
11 changes: 11 additions & 0 deletions asm-lsp-cfg/.asm-lsp.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[[project]]
path = ""
version = "0.1"
assembler = "gas"
instruction_set = "x86"

[[project]]
path = "src"
version = "0.1"
assembler = "gas"
instruction_set = "x86"
22 changes: 22 additions & 0 deletions asm-lsp-cfg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "asm-lsp-cfg"
version = "0.1.0"
description = "Generate configuration files for asm-lsp"
categories.workspace = true
keywords.workspace = true
readme.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true

[dependencies]
anyhow.workspace = true
serde.workspace = true
dirs.workspace = true
toml.workspace = true
asm-lsp = { path = "../asm-lsp" }
clap = { version = "4.5.8", features = ["derive"] }
dialoguer = { version = "0.11.0", features = ["fuzzy-select"] }

[lints]
workspace = true
Loading

0 comments on commit 1830edb

Please sign in to comment.