Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions varia/Dockerfile.tests
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ RUN rustup component add rustfmt clippy
# Build Cargo dependencies for cache
COPY Cargo.toml ./
RUN mkdir src/ && \
echo "pub fn main() {println!(\"dummy function\")}" > src/lib.rs && \
echo 'pub fn main() {println!("dummy function")}' > src/lib.rs && \
cargo build --lib --tests --examples --color=always && \
rm -rdv target/*/deps/rocket_sentry-* \
rm -rfv target/*/build/rocket-sentry \
target/*/deps/rocket_sentry-* \
target/*/.fingerprint/rocket-sentry-*

# Do the actual build
Expand Down