8 references to ShellQuote
Aspire.Hosting.Rust (8)
RustDockerfileGenerator.cs (8)
131
? $"rustup target add {
ShellQuote
(triple)}{CommandContinuation}"
320
=> string.Join(" ", new[] { "cargo", "build" }.Concat(cargoArgs.Select(
ShellQuote
)));
435
var destination =
ShellQuote
($"{artifactDirectory.TrimEnd('/')}/{target.Name}");
445
$"if [ \"$count\" = 0 ]; then echo \"no\" {
ShellQuote
($"{target.Name} under {targetDirectory}")} >&2; exit 1; fi",
446
$"if [ \"$count\" != 1 ]; then echo \"found $count\" {
ShellQuote
($"{target.Name} under {targetDirectory} after cargo build")} >&2; exit 1; fi",
447
$"mkdir -p {
ShellQuote
(artifactDirectory)}",
455
var suffix =
ShellQuote
(target.RelativePathWithoutTarget);
456
var directory =
ShellQuote
(targetDirectory.TrimEnd('/'));