mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-09-27 20:48:53 +02:00
add install-prompt to justfile
This commit is contained in:
parent
c70546c767
commit
c4030a1d09
2 changed files with 6 additions and 7 deletions
6
justfile
6
justfile
|
@ -30,3 +30,9 @@ install-lsps-paru:
|
|||
ocaml-lsp-server \
|
||||
ocamlformat
|
||||
fi
|
||||
|
||||
install-prompt:
|
||||
RUSTFLAGS="-C target-cpu=native" cargo build --release \
|
||||
--manifest-path prompt/Cargo.toml
|
||||
strip prompt/target/release/prompt
|
||||
cp prompt/target/release/prompt ~/.local/bin
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
# builds and installs the prompt to ~/.local/bin
|
||||
set -e
|
||||
|
||||
RUSTFLAGS="-C target-cpu=native" cargo build --release
|
||||
strip target/release/prompt
|
||||
cp target/release/prompt ~/.local/bin
|
Loading…
Reference in a new issue