Dagger
Search

buck

This module provides a set of functions to run common tasks with Buck.

Installation

dagger install github.com/fluent-ci-templates/buck-pipeline@v0.1.4

Entrypoint

Return Type
Buck
Example
dagger -m github.com/fluent-ci-templates/buck-pipeline@1f2d6e412977bd035271bf75b17c1dfcabe27f3c call \
func (m *myModule) example() *Buck  {
	return dag.
			Buck()
}
@function
def example() -> dag.Buck:
	return (
		dag.buck()
	)
@func()
example(): Buck {
	return dag
		.buck()
}

Types

Buck 🔗

build() 🔗

Build the project

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

test() 🔗

Run tests

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