Skip to content

Commit

Permalink
fix(zed*): add cargo clean to make for more disk space (#1805) (#1812)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2497712)

Co-authored-by: madomado <[email protected]>
  • Loading branch information
raboneko and madonuko authored Aug 2, 2024
1 parent 3a45fda commit 21ea67d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions anda/devs/zed/nightly/zed-nightly.spec
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ script/generate-licenses
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed

%__cargo clean

install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
install -Dm644 crates/zed/resources/app-icon-nightly.png %{buildroot}%{_datadir}/pixmaps/%app_id.png

Expand Down
2 changes: 2 additions & 0 deletions anda/devs/zed/preview/zed-preview.spec
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ script/generate-licenses
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed

%__cargo clean

install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
install -Dm644 crates/zed/resources/app-icon-preview.png %{buildroot}%{_datadir}/pixmaps/%app_id.png

Expand Down
2 changes: 2 additions & 0 deletions anda/devs/zed/stable/zed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ script/generate-licenses
install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor
install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed

%__cargo clean

install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop
install -Dm644 crates/zed/resources/app-icon.png %{buildroot}%{_datadir}/pixmaps/%app_id.png

Expand Down

0 comments on commit 21ea67d

Please sign in to comment.