-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11785 from kranurag7/kr/add-helix-editor
add helix-editor package to wolfi
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package: | ||
name: helix | ||
version: 23.10 | ||
epoch: 0 | ||
description: "A post-modern modal text editor." | ||
copyright: | ||
- license: MPL-2.0 | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- build-base | ||
- busybox | ||
- ca-certificates-bundle | ||
- rust | ||
- wolfi-base | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
repository: https://github.com/helix-editor/helix | ||
expected-commit: f6021dd0cdd8cf6795f024e396241cb0af2ca368 | ||
tag: ${{package.version}} | ||
|
||
- uses: patch | ||
with: | ||
patches: tree-sitter-gemini.patch | ||
|
||
- name: Configure and build | ||
runs: | | ||
cargo install --path helix-term --locked | ||
mkdir -p ${{targets.destdir}}/usr/bin/ | ||
mv target/release/hx ${{targets.destdir}}/usr/bin/ | ||
mkdir -p $HOME/.config/helix | ||
mv runtime $HOME/.config/helix | ||
- uses: strip | ||
|
||
update: | ||
enabled: true | ||
github: | ||
identifier: helix-editor/helix |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From 6d168eda275deb23b0c643aecd746af3f4cc9937 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= <[email protected]> | ||
Date: Tue, 28 Nov 2023 14:38:15 +0900 | ||
Subject: [PATCH] fix CI: tree-sitter-gemini user renamed | ||
|
||
--- | ||
languages.toml | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/languages.toml b/languages.toml | ||
index ef4687af8a71..33b27626e720 100644 | ||
--- a/languages.toml | ||
+++ b/languages.toml | ||
@@ -2916,7 +2916,7 @@ file-types = ["gmi"] | ||
|
||
[[grammar]] | ||
name = "gemini" | ||
-source = { git = "https://git.sr.ht/~sfr/tree-sitter-gemini", rev = "3cc5e4bdf572d5df4277fc2e54d6299bd59a54b3" } | ||
+source = { git = "https://git.sr.ht/~nbsp/tree-sitter-gemini", rev = "3cc5e4bdf572d5df4277fc2e54d6299bd59a54b3" } | ||
|
||
[[language]] | ||
name = "templ" |