Dagger
Search

dotnet

No long description provided.

Installation

dagger install github.com/fluent-ci-templates/dotnet-pipeline@6130d4ee0a85311ae3221121f2a1f7955662549f

Entrypoint

Return Type
Dotnet
Example
func (m *myModule) example() *Dotnet  {
	return dag.
			Dotnet()
}
@function
def example() -> dag.Dotnet:
	return (
		dag.dotnet()
	)
@func()
example(): Dotnet {
	return dag
		.dotnet()
}

Types

Dotnet 🔗

test() 🔗

Run tests

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/fluent-ci-templates/dotnet-pipeline@6130d4ee0a85311ae3221121f2a1f7955662549f call \
 test
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Dotnet().
			Test(ctx)
}
@function
async def example() -> str:
	return await (
		dag.dotnet()
		.test()
	)
@func()
async example(): Promise<string> {
	return dag
		.dotnet()
		.test()
}

build() 🔗

Build Project

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/fluent-ci-templates/dotnet-pipeline@6130d4ee0a85311ae3221121f2a1f7955662549f call \
 build
func (m *myModule) example() *Directory  {
	return dag.
			Dotnet().
			Build()
}
@function
def example() -> dagger.Directory:
	return (
		dag.dotnet()
		.build()
	)
@func()
example(): Directory {
	return dag
		.dotnet()
		.build()
}