mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2025-12-11 23:50:05 +01:00
Create LocalSource as type for local dependencies
This commit is contained in:
parent
6ee790d911
commit
07801936c0
6 changed files with 71 additions and 23 deletions
|
|
@ -26,10 +26,15 @@ type Dependency struct {
|
|||
}
|
||||
|
||||
type Source struct {
|
||||
GitSource *GitSource `json:"git"`
|
||||
GitSource *GitSource `json:"git,omitempty"`
|
||||
LocalSource *LocalSource `json:"local,omitempty"`
|
||||
}
|
||||
|
||||
type GitSource struct {
|
||||
Remote string `json:"remote"`
|
||||
Subdir string `json:"subdir"`
|
||||
}
|
||||
|
||||
type LocalSource struct {
|
||||
Directory string `json:"directory"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue