Commit 059cb525 authored by Mustafa Gezen's avatar Mustafa Gezen
Browse files

fix buildrequires and requires type

parent fa52ff07
......@@ -41,20 +41,8 @@ type ModuleMd struct {
} `yaml:"license,omitempty"`
Xmd map[string]interface{} `yaml:"xmd,omitempty"`
Dependencies []struct {
Buildrequires struct {
Platform []string `yaml:"platform,omitempty"`
Buildtools []string `yaml:"buildtools,omitempty"`
Compatible []string `yaml:"compatible,omitempty"`
Extras []interface{} `yaml:"extras,omitempty"`
Moreextras []string `yaml:"moreextras,omitempty"`
} `yaml:"buildrequires,omitempty,omitempty"`
Requires struct {
Platform []string `yaml:"platform,omitempty"`
Compatible []string `yaml:"compatible,omitempty"`
Runtime []string `yaml:"runtime,omitempty"`
Extras []interface{} `yaml:"extras,omitempty"`
Moreextras []string `yaml:"moreextras,omitempty"`
} `yaml:"requires,omitempty,omitempty"`
Buildrequires map[string]interface{} `yaml:"buildrequires,omitempty,omitempty"`
Requires map[string]interface{} `yaml:"requires,omitempty,omitempty"`
} `yaml:"dependencies,omitempty"`
References struct {
Community string `yaml:"community,omitempty"`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment