internal/rosa: vim artifact
All checks were successful
Test / Create distribution (push) Successful in 1m3s
Test / Sandbox (push) Successful in 2m47s
Test / ShareFS (push) Successful in 3m38s
Test / Hakurei (push) Successful in 3m46s
Test / Sandbox (race detector) (push) Successful in 5m26s
Test / Hakurei (race detector) (push) Successful in 6m23s
Test / Flake checks (push) Successful in 1m18s
All checks were successful
Test / Create distribution (push) Successful in 1m3s
Test / Sandbox (push) Successful in 2m47s
Test / ShareFS (push) Successful in 3m38s
Test / Hakurei (push) Successful in 3m46s
Test / Sandbox (race detector) (push) Successful in 5m26s
Test / Hakurei (race detector) (push) Successful in 6m23s
Test / Flake checks (push) Successful in 1m18s
Very useful for troubleshooting. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -174,6 +174,7 @@ const (
|
|||||||
toyboxEarly
|
toyboxEarly
|
||||||
Unzip
|
Unzip
|
||||||
UtilLinux
|
UtilLinux
|
||||||
|
VIM
|
||||||
Wayland
|
Wayland
|
||||||
WaylandProtocols
|
WaylandProtocols
|
||||||
XCB
|
XCB
|
||||||
|
|||||||
45
internal/rosa/vim.go
Normal file
45
internal/rosa/vim.go
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
package rosa
|
||||||
|
|
||||||
|
import "hakurei.app/internal/pkg"
|
||||||
|
|
||||||
|
func (t Toolchain) newVIM() (pkg.Artifact, string) {
|
||||||
|
const (
|
||||||
|
version = "9.2.0461"
|
||||||
|
checksum = "18Rr_5oIf_PkKuqVkN4CMZIGkZEgpN1vamlrsvPLBjn4mN98CRuoJmhzRZ7MoVYM"
|
||||||
|
)
|
||||||
|
return t.NewPackage("vim", version, newFromGitHub(
|
||||||
|
"vim/vim",
|
||||||
|
"v"+version,
|
||||||
|
checksum,
|
||||||
|
), &PackageAttr{
|
||||||
|
Chmod: true,
|
||||||
|
Writable: true,
|
||||||
|
EnterSource: true,
|
||||||
|
}, &MakeHelper{
|
||||||
|
InPlace: true,
|
||||||
|
Configure: []KV{
|
||||||
|
{"with-tlib", "ncursesw"},
|
||||||
|
},
|
||||||
|
Check: []string{"test"},
|
||||||
|
|
||||||
|
// very expensive
|
||||||
|
SkipCheck: true,
|
||||||
|
},
|
||||||
|
Ncurses,
|
||||||
|
), version
|
||||||
|
}
|
||||||
|
func init() {
|
||||||
|
artifactsM[VIM] = Metadata{
|
||||||
|
f: Toolchain.newVIM,
|
||||||
|
|
||||||
|
Name: "vim",
|
||||||
|
Description: "a greatly improved version of the good old UNIX editor Vi",
|
||||||
|
Website: "https://www.vim.org",
|
||||||
|
|
||||||
|
Dependencies: P{
|
||||||
|
Ncurses,
|
||||||
|
},
|
||||||
|
|
||||||
|
ID: 5092,
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user