nuget

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2018 License: MPL-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

func (*NuGetBuilder) IsBuilt

func (builder *NuGetBuilder) IsBuilt(m module.Module, allowUnresolved bool) (bool, error)

IsBuilt checks the existance of a lockfile or a packages directory

func (*NuGetBuilder) IsModule

func (builder *NuGetBuilder) IsModule(target string) (bool, error)

IsModule is not implemented

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL