We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ff5444 commit 66ba51fCopy full SHA for 66ba51f
twoliter/embedded/Makefile.toml
@@ -97,7 +97,8 @@ BUILDSYS_JOBS = "8"
97
CARGO_HOME = "${BUILDSYS_ROOT_DIR}/.cargo"
98
# This needs to end with pkg/mod so that we can mount the parent of pkg/mod as GOPATH.
99
GO_MOD_CACHE = "${BUILDSYS_ROOT_DIR}/.gomodcache/pkg/mod"
100
-GO_MODULES = "ecs-gpu-init host-ctr"
+# Dynamically load a list of go modules from ${BUILDSYS_SOURCE_DIR}
101
+GO_MODULES = { script = ['find ${BUILDSYS_SOURCES_DIR} -name go.mod -type f -printf "%h\n" | xargs -n1 basename'] }
102
DOCKER_BUILDKIT = "1"
103
104
# This is the filename suffix for operations that write out AMI information to
0 commit comments