diff options
author | Pen Tree <appletree2479@outlook.com> | 2019-11-27 00:53:43 +0800 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2019-11-26 17:53:43 +0100 |
commit | 4e6bbfbfc3ae3d315c13ffc6d1a0f6769613823c (patch) | |
tree | f1268a2447019efa29d3073036f5596d9447719a | |
parent | fe9644805ba97c9d8ebec0da257fe73d28e53300 (diff) | |
download | alacritty-4e6bbfbfc3ae3d315c13ffc6d1a0f6769613823c.tar.gz alacritty-4e6bbfbfc3ae3d315c13ffc6d1a0f6769613823c.zip |
Simplify `cargo deb` usage
-rw-r--r-- | INSTALL.md | 2 | ||||
-rwxr-xr-x | ci/before_deploy.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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`. diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index bc834f85..8d508bab 100755 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -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" } |