mirror of
https://github.com/imjasonh/krust
synced 2026-07-08 06:45:32 +00:00
17 lines
319 B
Text
17 lines
319 B
Text
# 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 should fail
|
|
! exec ./krust build --no-push .
|
|
stderr 'KRUST_REPO must be set'
|