diff options
Diffstat (limited to 'Earthfile')
| -rw-r--r-- | Earthfile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -46,11 +46,9 @@ build: COPY yarte.toml yarte.toml RUN find ./content -name "*.DS_Store" -delete - RUN --mount=type=cache,target=/source/locus/target \ - --mount=type=cache,target=/root/.cargo/registry \ - cargo build --release --bin locus \ - && strip -s /source/locus/target/x86_64-unknown-linux-musl/release/locus \ - && mv /source/locus/target/x86_64-unknown-linux-musl/release/locus . + RUN cargo build --release --bin locus + RUN strip -s /source/locus/target/x86_64-unknown-linux-musl/release/locus + RUN mv /source/locus/target/x86_64-unknown-linux-musl/release/locus . RUN strip -s /source/locus/locus RUN mkdir /new_tmp |