Dagger
Search

booklit

No long description provided.

Installation

dagger install github.com/vito/booklit@d216b261fb1cf35da556ff7dad25e596001954e1

Entrypoint

Return Type
Booklit !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
Example
dagger -m github.com/vito/booklit@d216b261fb1cf35da556ff7dad25e596001954e1 call \
func (m *MyModule) Example() *dagger.Booklit  {
	return dag.
			Booklit()
}
@function
def example() -> dagger.Booklit:
	return (
		dag.booklit()
	)
@func()
example(): Booklit {
	return dag
		.booklit()
}

Types

Booklit 🔗

CI/CD functions for the booklit project

test() 🔗

Run all Go tests in the project.

Return Type
Void !
Example
dagger -m github.com/vito/booklit@d216b261fb1cf35da556ff7dad25e596001954e1 call \
 test
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			Booklit().
			Test(ctx)
}
@function
async def example() -> None:
	return await (
		dag.booklit()
		.test()
	)
@func()
async example(): Promise<void> {
	return dag
		.booklit()
		.test()
}

lint() 🔗

Run golangci-lint against all Go code.

Return Type
Void !
Example
dagger -m github.com/vito/booklit@d216b261fb1cf35da556ff7dad25e596001954e1 call \
 lint
func (m *MyModule) Example(ctx context.Context)   {
	return dag.
			Booklit().
			Lint(ctx)
}
@function
async def example() -> None:
	return await (
		dag.booklit()
		.lint()
	)
@func()
async example(): Promise<void> {
	return dag
		.booklit()
		.lint()
}

build() 🔗

Build the booklit binary, with an optional version. Returns the directory containing the built binary.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
versionString -No description provided
Example
dagger -m github.com/vito/booklit@d216b261fb1cf35da556ff7dad25e596001954e1 call \
 build
func (m *MyModule) Example() *dagger.Directory  {
	return dag.
			Booklit().
			Build()
}
@function
def example() -> dagger.Directory:
	return (
		dag.booklit()
		.build()
	)
@func()
example(): Directory {
	return dag
		.booklit()
		.build()
}