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