Skip to content

Commit

Permalink
fix(zed*): add cargo clean to make for more disk space (#1805)
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko authored Aug 1, 2024
1 parent f50e30a commit 2497712
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 2497712

Please sign in to comment.