File tree 2 files changed +7
-0
lines changed 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,18 @@ type Platform struct {
35
35
Package * Package `json:"-"`
36
36
}
37
37
38
+ // PlatformReleaseHelp represents the help URL for this Platform release
39
+ type PlatformReleaseHelp struct {
40
+ Online string `json:"-"`
41
+ }
42
+
38
43
// PlatformRelease represents a release of a plaform package.
39
44
type PlatformRelease struct {
40
45
Resource * resources.DownloadResource
41
46
Version * semver.Version
42
47
BoardsManifest []* BoardManifest
43
48
Dependencies ToolDependencies // The Dependency entries to load tools.
49
+ Help PlatformReleaseHelp `json:"-"`
44
50
Platform * Platform `json:"-"`
45
51
Properties * properties.Map `json:"-"`
46
52
Boards map [string ]* Board `json:"-"`
Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ func (inPlatformRelease indexPlatformRelease) extractPlatformIn(outPackage *core
144
144
URL : inPlatformRelease .URL ,
145
145
CachePath : "packages" ,
146
146
}
147
+ outPlatformRelease .Help = cores.PlatformReleaseHelp {Online : inPlatformRelease .Help .Online }
147
148
outPlatformRelease .BoardsManifest = inPlatformRelease .extractBoardsManifest ()
148
149
if deps , err := inPlatformRelease .extractDeps (); err == nil {
149
150
outPlatformRelease .Dependencies = deps
You can’t perform that action at this time.
0 commit comments