checkmake
This module provides a set of functions to lint Makefiles and to create a development environment with checkmake installed.
Installation
dagger install github.com/tsirysndr/daggerverse/checkmake@e8bed26dfefaaf4ef3d00958965575131f34c69c
Entrypoint
Return Type
Checkmake
Example
dagger -m github.com/tsirysndr/daggerverse/checkmake@e8bed26dfefaaf4ef3d00958965575131f34c69c call \
func (m *myModule) example() *Checkmake {
return dag.
Checkmake()
}
@function
def example() -> dag.Checkmake:
return (
dag.checkmake()
)
@func()
example(): Checkmake {
return dag
.checkmake()
}
Types
Checkmake 🔗
lint() 🔗
Lint Makefiles.
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
files | String | "Makefile" | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/checkmake@e8bed26dfefaaf4ef3d00958965575131f34c69c call \
lint --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory {
return dag.
Checkmake().
Lint(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
return (
dag.checkmake()
.lint(src)
)
@func()
example(src: Directory): Directory {
return dag
.checkmake()
.lint(src)
}