Make install idempotent to jsonnetfile.json

This commit is contained in:
Frederic Branczyk 2018-04-24 17:43:27 +01:00
parent cb59934d1d
commit 5233278a99
No known key found for this signature in database
GPG key ID: 7741A52782A90069
2 changed files with 28 additions and 33 deletions

View file

@ -19,8 +19,7 @@ type JsonnetFile struct {
}
type Source struct {
GitSource *GitSource `json:"git"`
GitHubSource *GitHubSource `json:"github"`
GitSource *GitSource `json:"git"`
}
type GitSource struct {
@ -28,10 +27,6 @@ type GitSource struct {
Subdir string `json:"subdir"`
}
type GitHubSource struct {
Repo string `json:"repo"`
}
type Dependency struct {
Name string `json:"name"`
Source Source `json:"source"`