Dagger
Search

gleam

This module provides functions for Gleam projects

Installation

dagger install github.com/fluent-ci-templates/gleam-pipeline@v0.8.1

Entrypoint

Return Type
Gleam
Example
dagger -m github.com/fluent-ci-templates/gleam-pipeline@56273bbe5a33bd1c9c0c9e87964d2eb669c3444c call \
func (m *myModule) example() *Gleam  {
	return dag.
			Gleam()
}
@function
def example() -> dag.Gleam:
	return (
		dag.gleam()
	)
@func()
example(): Gleam {
	return dag
		.gleam()
}

Types

Gleam 🔗

check() 🔗

Run type checking

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

format() 🔗

Format source code

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/fluent-ci-templates/gleam-pipeline@56273bbe5a33bd1c9c0c9e87964d2eb669c3444c call \
 format
func (m *myModule) example() *Directory  {
	return dag.
			Gleam().
			Format()
}
@function
def example() -> dagger.Directory:
	return (
		dag.gleam()
		.format()
	)
@func()
example(): Directory {
	return dag
		.gleam()
		.format()
}

test() 🔗

Run tests

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

build() 🔗

Build the project

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