mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2025-04-16 06:08:18 +00:00
Make the scripts runnable from anywhere
This commit is contained in:
parent
71ba4814a8
commit
dae030e765
@ -14,6 +14,7 @@ foreach ($arg in $args) {
|
||||
}
|
||||
}
|
||||
|
||||
cd "$PSScriptRoot"
|
||||
cargo build --bins
|
||||
|
||||
foreach ($example in Get-ChildItem -Directory -Name) {
|
||||
|
@ -23,6 +23,7 @@ else
|
||||
sh_cmd='sh'
|
||||
fi
|
||||
|
||||
cd "$(dirname $0)"
|
||||
cargo build --bins
|
||||
ls -F | grep '/$' | sed 's|/$||' | xargs -E '' -I {} $sh_cmd -c '
|
||||
# Continue without printing anything if the example is excluded in the manifest.
|
||||
|
Loading…
Reference in New Issue
Block a user