1
0
Fork 0
mirror of https://github.com/imjasonh/krust synced 2026-07-19 07:24:38 +00:00
krust/tests/testdata/build_requires_repo.txt

18 lines
348 B
Text
Raw Normal View History

# Test that build fails without KRUST_REPO or --image
-- Cargo.toml --
[package]
name = "test-app"
version = "0.1.0"
edition = "2021"
[dependencies]
-- src/main.rs --
fn main() {
println!("Hello, world!");
}
# Build without KRUST_REPO or --image should fail
! exec ./krust build --no-push .
stderr 'Either --image or KRUST_REPO must be set'