diff --git a/earthly/cspell/Earthfile b/earthly/cspell/Earthfile index 294586b19..38c61b3dc 100644 --- a/earthly/cspell/Earthfile +++ b/earthly/cspell/Earthfile @@ -18,9 +18,3 @@ CHECK: COPY $src . RUN cspell-cli lint . --dot - -# A Test and example invocation of the above UDC. -cspell-test: - # Run with `earthly -P +cspell-test` - DO +CHECK --src=$(echo ${PWD}/../../) - diff --git a/earthly/rust/Earthfile b/earthly/rust/Earthfile index 2088eb47a..b57386241 100644 --- a/earthly/rust/Earthfile +++ b/earthly/rust/Earthfile @@ -80,20 +80,6 @@ rust-base: rust-base-all-hosts: BUILD --platform=linux/amd64 --platform=linux/arm64 +rust-base -CP_SRC: - # Copy the build src using this. - COMMAND - # This can be one directory like `"src/*"` or multiple src separated by `","`: - # eg, "example/Cargo.toml, example/Cargo.lock, example/src" - ARG src="" - - # ONLY copy whats needed to build. Not everything. - # Note: rust-toolchain.toml was already copied when rust was setup. - # Minimizing whats copied reduces needless cache misses. - FOR --sep=", " file IN $src - COPY --dir $file . - END - # Common Rust setup. # Parameters: # * toolchain : The `rust-toolchain` toml file.