2022-02-08 19:53:55 +01:00
|
|
|
lsps := "
|
2022-07-06 22:41:47 +02:00
|
|
|
eslint
|
2022-02-08 19:53:55 +01:00
|
|
|
lua-language-server
|
|
|
|
rust-analyzer
|
2022-05-06 14:04:55 +02:00
|
|
|
shellcheck
|
|
|
|
shfmt
|
2022-04-10 15:19:39 +02:00
|
|
|
taplo-cli
|
2022-07-09 23:19:09 +02:00
|
|
|
tidy
|
2022-02-08 19:53:55 +01:00
|
|
|
vscode-langservers-extracted
|
|
|
|
yaml-language-server
|
2022-06-26 18:19:13 +02:00
|
|
|
zls-bin
|
2022-02-08 19:53:55 +01:00
|
|
|
"
|
|
|
|
|
2022-04-21 00:09:48 +02:00
|
|
|
install-scripts target=(`echo $HOME` + "/.local/bin"): build-scripts
|
2022-05-21 23:35:00 +02:00
|
|
|
cp scripts/randomwallpaper/zig-out/bin/randomwallpaper {{target}}/randomwallpaper
|
2022-05-17 17:08:53 +02:00
|
|
|
cp scripts/playtwitch/zig-out/bin/playtwitch {{target}}/playtwitch
|
2022-09-08 17:15:07 +02:00
|
|
|
rm {{target}}/mzteinit || true
|
2022-09-08 17:03:54 +02:00
|
|
|
cp scripts/mzteinit/zig-out/bin/mzteinit {{target}}/mzteinit
|
2022-02-08 19:53:55 +01:00
|
|
|
|
2022-02-08 18:49:25 +01:00
|
|
|
ln -sf \
|
2022-02-16 00:29:50 +01:00
|
|
|
`pwd`/scripts/{start-joshuto,withjava} \
|
2022-02-08 18:49:25 +01:00
|
|
|
{{target}}
|
2022-02-08 19:53:55 +01:00
|
|
|
|
2022-04-21 00:09:48 +02:00
|
|
|
|
|
|
|
build-scripts:
|
2022-05-21 23:35:00 +02:00
|
|
|
cd scripts/randomwallpaper && zig build -Drelease-fast
|
2022-07-18 17:34:22 +02:00
|
|
|
cd scripts/playtwitch && gyro build -Drelease-fast
|
2022-09-08 17:03:54 +02:00
|
|
|
cd scripts/mzteinit && gyro build -Drelease-fast
|
2022-04-21 00:09:48 +02:00
|
|
|
|
2022-02-08 19:53:55 +01:00
|
|
|
install-lsps-paru:
|
|
|
|
#!/bin/sh
|
|
|
|
paru -S --needed --noconfirm {{replace(lsps, "\n", " ")}}
|
|
|
|
|
2022-03-20 23:15:25 +01:00
|
|
|
cargo install prosemd-lsp
|
|
|
|
|
2022-02-08 19:53:55 +01:00
|
|
|
if which opam &> /dev/null; then
|
|
|
|
opam install --yes \
|
|
|
|
ocaml-lsp-server \
|
|
|
|
ocamlformat
|
|
|
|
fi
|
2022-02-08 19:57:27 +01:00
|
|
|
|
|
|
|
install-prompt:
|
2022-06-18 17:08:41 +02:00
|
|
|
cd prompt/ && gyro build -Drelease-fast
|
|
|
|
cp prompt/zig-out/bin/prompt ~/.local/bin
|