dotnet

package
v0.7.24 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path(s string) string

Types

type DotNET

type DotNET struct {
	Cmd string
}

func (*DotNET) Build

func (d *DotNET) Build(dir string) error

func (*DotNET) References

func (d *DotNET) References(projectFile string) ([]string, error)

type ItemGroup

type ItemGroup struct {
	Reference        []Reference
	PackageReference []Reference
	ProjectReference []Reference
}

type Lockfile

type Lockfile struct {
	Version int
	Targets map[string]map[string]Target
	// contains filtered or unexported fields
}

func ReadLockfile

func ReadLockfile(filename string) (Lockfile, error)

func (*Lockfile) Imports

func (l *Lockfile) Imports(pkg string) map[string]string

func (*Lockfile) Resolve

func (l *Lockfile) Resolve(pkg string) string

type Manifest

type Manifest struct {
	PropertyGroup []PropertyGroup
	ItemGroup     []ItemGroup
}

func (*Manifest) Imports

func (m *Manifest) Imports() []Reference

func (*Manifest) Name

func (m *Manifest) Name() string

func (*Manifest) Packages

func (m *Manifest) Packages() []Reference

func (*Manifest) Projects

func (m *Manifest) Projects() []Reference

func (*Manifest) Version

func (m *Manifest) Version() string

type Metadata

type Metadata struct {
	ID      string
	Version string
}

type NuSpec

type NuSpec struct {
	Metadata Metadata
}

type PropertyGroup

type PropertyGroup struct {
	RootNamespace string
	Version       string
}

type Reference

type Reference struct {
	Include string `xml:",attr"`
	Version string `xml:",attr"`
}

type Target

type Target struct {
	Type         string
	Dependencies map[string]string
}

Jump to

Keyboard shortcuts

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