summaryrefslogtreecommitdiff
path: root/setup-zls.fish
blob: c9e371397010a23f0bff5d514093aa7d9b8fa612 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
type zig
or exit 1

if ! test -d zls;
    git clone https://github.com/zigtools/zls
end
git pull

pushd zls
zig build -Doptimize=ReleaseSafe

echo "SETUP zls"
fish_add_path --path (pwd)/zig-out/bin
popd