-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Peter Engelbert <[email protected]>
- Loading branch information
1 parent
3152ed6
commit 2b2344b
Showing
4 changed files
with
159 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
package dalec | ||
|
||
// `Project` is either a) A single spec or b) a list of specs nested | ||
// under the `specs` key. In the case of the latter, the specs may | ||
// or may not depend on one another. | ||
type Project struct { | ||
*Spec `json:",inline,omitempty" yaml:",inline,omitempty"` | ||
Specs []Spec `json:"specs" yaml:"specs"` | ||
*Spec `json:",inline,omitempty" yaml:",inline,omitempty"` | ||
Frontends map[string]Frontend `json:"frontend,omitempty" yaml:"frontend,omitempty"` | ||
Specs []Spec `json:"specs,omitempty" yaml:"specs,omitempty"` | ||
} | ||
|
||
// This is a placeholder until it is implemented by PR #146 | ||
type Graph struct{} |