mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2025-12-11 23:50:05 +01:00
Make install idempotent to jsonnetfile.json
This commit is contained in:
parent
cb59934d1d
commit
5233278a99
2 changed files with 28 additions and 33 deletions
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue