From fd8af4aeaadb95c4c15f8e0c086099691f969536 Mon Sep 17 00:00:00 2001 From: Akira Date: Wed, 24 Apr 2024 12:39:56 +0530 Subject: [PATCH 1/3] feat: support for cargo binstall this lets users install the binary directly instead of compiling it themselves or grabbing the releases manually --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0f8dfe0d..9f1d1471 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "markdown-oxide" -version = "0.1.0" +version = "0.0.21" edition = "2021" +repository = "https://github.com/Feel-ix-343/markdown-oxide" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -25,3 +26,7 @@ shellexpand = "3.1.0" tokio = { version = "1.34.0", features = ["full"] } tower-lsp = { git = "https://github.com/Feel-ix-343/tower-lsp" } walkdir = "2.4.0" + +[package.metadata.binstall] +pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }" +pkg-fmt = "tgz" From d5e6bee776d0816224869758bf419750319bbf69 Mon Sep 17 00:00:00 2001 From: Sai Akshit Date: Wed, 24 Apr 2024 14:01:25 +0000 Subject: [PATCH 2/3] fix: add support for windows (.zip) binstall update: add to installtion section of the readme --- Cargo.toml | 1 - README.md | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9f1d1471..9f420a87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,4 +29,3 @@ walkdir = "2.4.0" [package.metadata.binstall] pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }{ archive-suffix }" -pkg-fmt = "tgz" diff --git a/README.md b/README.md index d5933c2c..679ba286 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,15 @@ Markdown Oxide's features are implemented in the form of a language server aimin ``` + + -
+ Cargo binstall (from hosted binary) + + ```bash + cargo binstall markdown-oxide + ``` + +
-
AUR (from source) @@ -145,6 +154,15 @@ Markdown Oxide is available as an extension titled `Markdown Oxide`. Similarly t ```
+ + -
+ Cargo binstall (from hosted binary) + + ```bash + cargo binstall markdown-oxide + ``` + +
-
AUR (from source) @@ -177,6 +195,15 @@ For Helix, all you must do is install the language server's binary to your path.
+-
+ Cargo binstall (from hosted binary) + + ```bash + cargo binstall markdown-oxide + ``` + +
+ -
AUR (from source) From 05fe1924a97f9bac5024c8023d4985540bc67973 Mon Sep 17 00:00:00 2001 From: Felix Zeller Date: Sun, 28 Apr 2024 01:07:37 -0400 Subject: [PATCH 3/3] Update README.md --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 679ba286..968ea6b4 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Markdown Oxide's features are implemented in the form of a language server aimin Cargo binstall (from hosted binary) ```bash - cargo binstall markdown-oxide + cargo binstall --git 'https://github.com/feel-ix-343/markdown-oxide' markdown-oxide ```
@@ -123,6 +123,15 @@ Install the [vscode extension](https://marketplace.visualstudio.com/items?itemNa ``` + + -
+ Cargo binstall (from hosted binary) + + ```bash + cargo binstall --git 'https://github.com/feel-ix-343/markdown-oxide' markdown-oxide + ``` + +
-
AUR (from source) @@ -159,7 +168,7 @@ Markdown Oxide is available as an extension titled `Markdown Oxide`. Similarly t Cargo binstall (from hosted binary) ```bash - cargo binstall markdown-oxide + cargo binstall --git 'https://github.com/feel-ix-343/markdown-oxide' markdown-oxide ```
@@ -199,7 +208,7 @@ For Helix, all you must do is install the language server's binary to your path. Cargo binstall (from hosted binary) ```bash - cargo binstall markdown-oxide + cargo binstall --git 'https://github.com/feel-ix-343/markdown-oxide' markdown-oxide ```