2020-03-13 22:19:43 -07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -euxo pipefail
|
|
|
|
|
2024-05-28 20:31:55 -07:00
|
|
|
cargo build
|
|
|
|
|
2020-03-13 22:19:43 -07:00
|
|
|
for script in completions/*; do
|
|
|
|
shell=${script##*.}
|
2023-10-08 21:24:47 -07:00
|
|
|
if [ $shell == nu ]; then
|
|
|
|
continue
|
|
|
|
fi
|
2024-05-28 20:31:55 -07:00
|
|
|
./target/debug/just --completions $shell > $script
|
2020-03-13 22:19:43 -07:00
|
|
|
done
|