Dagger
Search

elixir

No long description provided.

Installation

dagger install github.com/fluent-ci-templates/elixir-pipeline@c9147d06229ef43c4b969985d52672622a082046

Entrypoint

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

Types

Elixir 🔗

compile() 🔗

Compile your code

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
Example
dagger -m github.com/fluent-ci-templates/elixir-pipeline@c9147d06229ef43c4b969985d52672622a082046 call \
 compile --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory  {
	return dag.
			Elixir().
			Compile(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
	return (
		dag.elixir()
		.compile(src)
	)
@func()
example(src: Directory): Directory {
	return dag
		.elixir()
		.compile(src)
}

test() 🔗

Run your tests

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