1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Simplify cargo deb usage

This commit is contained in:
Pen Tree 2019-11-27 00:53:43 +08:00 committed by Christian Duerr
parent fe9644805b
commit 4e6bbfbfc3
2 changed files with 2 additions and 2 deletions

View file

@ -251,7 +251,7 @@ Using `cargo deb`, you can create and install a deb file.
```sh
cargo install cargo-deb
cargo deb --install --manifest-path alacritty/Cargo.toml
cargo deb --install -p alacritty
```
To choose a default terminal app, use Debian's `update-alternatives`.

View file

@ -60,7 +60,7 @@ function docker_deb {
archname=$2
docker run -v "$(pwd):/source" "undeadleech/${image}" sh -c \
"cd /source && /root/.cargo/bin/cargo deb --no-build --manifest-path alacritty/Cargo.toml \
"cd /source && /root/.cargo/bin/cargo deb --no-build -p alacritty \
--output ./target/deploy/${name}-${archname}.deb"
}