Documentation ¶
Index ¶
- type NuGetBuilder
- func (builder *NuGetBuilder) Analyze(m module.Module, allowUnresolved bool) ([]module.Dependency, error)
- func (builder *NuGetBuilder) Build(m module.Module, force bool) error
- func (builder *NuGetBuilder) DiscoverModules(dir string) ([]module.Config, error)
- func (builder *NuGetBuilder) Initialize() error
- func (builder *NuGetBuilder) IsBuilt(m module.Module, allowUnresolved bool) (bool, error)
- func (builder *NuGetBuilder) IsModule(target string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NuGetBuilder ¶
type NuGetBuilder struct { DotNETCmd string DotNETVersion string NuGetCmd string NuGetVersion string }
NuGetBuilder implements Builder for Bundler (Gemfile) builds
func (*NuGetBuilder) Analyze ¶
func (builder *NuGetBuilder) Analyze(m module.Module, allowUnresolved bool) ([]module.Dependency, error)
Analyze parses the output of NuGet lockfiles and falls back to parsing the packages folder
func (*NuGetBuilder) Build ¶
func (builder *NuGetBuilder) Build(m module.Module, force bool) error
Build runs `dotnet restore` and falls back to `nuget restore`
func (*NuGetBuilder) DiscoverModules ¶
func (builder *NuGetBuilder) DiscoverModules(dir string) ([]module.Config, error)
DiscoverModules returns ModuleConfigs that match `packages.config` in the directory
func (*NuGetBuilder) Initialize ¶
func (builder *NuGetBuilder) Initialize() error
Initialize collects metadata on NuGet and NuGet environments
Click to show internal directories.
Click to hide internal directories.