Dagger
Search

dotnet

No long description provided.

Installation

dagger install github.com/fluent-ci-templates/dotnet-pipeline@706bbb7b36451f599e8c0405a99902b165419457

Entrypoint

Return Type
Dotnet
Example
dagger -m github.com/fluent-ci-templates/dotnet-pipeline@706bbb7b36451f599e8c0405a99902b165419457 call \
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@706bbb7b36451f599e8c0405a99902b165419457 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@706bbb7b36451f599e8c0405a99902b165419457 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()
}