Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
Add new field default to let the user to know which bom is the defaul…
Browse files Browse the repository at this point in the history
…t one. Fix #16
  • Loading branch information
cmoulliard committed Sep 5, 2018
1 parent 698801d commit bd0e59f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions conf/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ templates:
bomversions:
- community : 1.5.15.RELEASE
snowdrop: 1.5.15.Final
default: true
- community : 1.5.14.RELEASE
snowdrop: 1.5.14.Final
- community : 1.5.13.RELEASE
Expand Down
1 change: 1 addition & 0 deletions pkg/scaffold/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ type Config struct {
type Bom struct {
Community string `yaml:"community" json:"community"`
Snowdrop string `yaml:"snowdrop" json:"snowdrop"`
Default bool `yaml:"default" json:"default"`
}

type Module struct {
Expand Down

0 comments on commit bd0e59f

Please sign in to comment.