forked from rosa/hakurei
internal/rosa: create metadata alongside artifact
This enables deferring evaluation of azalea-based packages and fixes the longstanding quirk of version being disjoint from other metadata. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -35,9 +35,7 @@ echo 'int main(){}' > tests/sanity-test.c
|
||||
), version
|
||||
}
|
||||
func init() {
|
||||
native.MustRegister(&Artifact{
|
||||
f: Toolchain.newWayland,
|
||||
|
||||
native.mustRegister(Toolchain.newWayland, &Metadata{
|
||||
Name: "wayland",
|
||||
Description: "core Wayland window system code and protocol",
|
||||
Website: "https://wayland.freedesktop.org/",
|
||||
@@ -121,9 +119,7 @@ GitLab
|
||||
), version
|
||||
}
|
||||
func init() {
|
||||
native.MustRegister(&Artifact{
|
||||
f: Toolchain.newWaylandProtocols,
|
||||
|
||||
native.mustRegister(Toolchain.newWaylandProtocols, &Metadata{
|
||||
Name: "wayland-protocols",
|
||||
Description: "Additional standard Wayland protocols",
|
||||
Website: "https://wayland.freedesktop.org/",
|
||||
|
||||
Reference in New Issue
Block a user