| 18 | ) |
| 19 | |
| 20 | type Project struct { |
| 21 | TargetPlatform string `toml:"target_platform,omitempty"` |
| 22 | BuildType string `toml:"build_type"` |
| 23 | Ports []string `toml:"ports"` |
| 24 | Vars []string `toml:"vars"` |
| 25 | Envs []string `toml:"envs"` |
| 26 | Macros []string `toml:"macros"` |
| 27 | |
| 28 | // Internal fields. |
| 29 | Name string `toml:"-"` |
| 30 | ctx context.Context |
| 31 | } |
| 32 | |
| 33 | func (p *Project) Init(ctx context.Context, projectName string) error { |
| 34 | p.ctx = ctx |
nothing calls this directly
no outgoing calls
no test coverage detected