mirror of
https://github.com/veeso/termscp.git
synced 2026-09-27 14:31:18 -07:00
ci: migrate project automation to Just (#442)
Deploy docs to GitHub Pages / deploy (push) Has been cancelled
Site / build-site (push) Has been cancelled
Install.sh / build (macos-latest) (push) Has been cancelled
Install.sh / build (ubuntu-latest) (push) Has been cancelled
CI / toolchain (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / install-scripts (push) Has been cancelled
CI / crates-ubuntu-latest (push) Has been cancelled
CI / crates-windows-latest (push) Has been cancelled
CI / doc (push) Has been cancelled
CI / deny (push) Has been cancelled
CI / crates-macos-latest (push) Has been cancelled
Deploy docs to GitHub Pages / deploy (push) Has been cancelled
Site / build-site (push) Has been cancelled
Install.sh / build (macos-latest) (push) Has been cancelled
Install.sh / build (ubuntu-latest) (push) Has been cancelled
CI / toolchain (push) Has been cancelled
CI / fmt (push) Has been cancelled
CI / install-scripts (push) Has been cancelled
CI / crates-ubuntu-latest (push) Has been cancelled
CI / crates-windows-latest (push) Has been cancelled
CI / doc (push) Has been cancelled
CI / deny (push) Has been cancelled
CI / crates-macos-latest (push) Has been cancelled
* ci: migrate project automation to Just Centralize build, test, release, dependency, hook, and website commands in Just recipes. Pin workflow tooling, use the repository toolchain, and run the complete validation set in CI. * ci: codex being codex * docs: update CLAUDE.md for just task runner migration Reflect the switch to just recipes for build/test/clippy/fmt, note dprint replacing raw rustfmt, and add a cross-platform code requirement. * fix: resolve clippy warnings breaking CI on ubuntu and windows Use clone() instead of implicit to_string() on already-owned String values, gate the windows-only unused make_file_at import behind cfg(posix), and fix unused mut / manual assign-op in the windows-only localhost test. * fix: fmt
This commit is contained in:
@@ -28,8 +28,6 @@ impl Pane {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::path::PathBuf;
|
||||
|
||||
use super::*;
|
||||
use crate::explorer::builder::FileExplorerBuilder;
|
||||
use crate::host::Localhost;
|
||||
@@ -52,6 +50,6 @@ mod tests {
|
||||
fn test_pane_pwd() {
|
||||
let mut pane = make_pane();
|
||||
let pwd = pane.fs.pwd().unwrap();
|
||||
assert_eq!(pwd, PathBuf::from(std::env::temp_dir()));
|
||||
assert_eq!(pwd, std::env::temp_dir());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -211,7 +211,8 @@ impl FileTransferActivity {
|
||||
/// Shared scan walk. `remote_side` selects which pane lists directories
|
||||
/// (remote for downloads, local for uploads).
|
||||
///
|
||||
/// The walk is abortable via [`crate::ui::activities::filetransfer::lib::TransferStates::aborted`]
|
||||
/// The walk is abortable via
|
||||
/// [`TransferStates::aborted`](crate::ui::activities::filetransfer::lib::transfer::TransferStates::aborted)
|
||||
/// and periodically redraws a "Scanning…" popup to keep the UI responsive.
|
||||
fn scan_worklist(
|
||||
&mut self,
|
||||
|
||||
@@ -15,8 +15,8 @@ use super::{Id, IdSsh, IdTheme, SetupActivity, ViewLayout};
|
||||
use crate::config::themes::Theme;
|
||||
|
||||
impl SetupActivity {
|
||||
/// On <ESC>, if there are changes in the configuration, the quit dialog must be shown, otherwise
|
||||
/// we can exit without any problem
|
||||
/// On `ESC`, if there are changes in the configuration, the quit dialog
|
||||
/// must be shown; otherwise, we can exit without any problem.
|
||||
pub(super) fn action_on_esc(&mut self) {
|
||||
if self.config_changed() {
|
||||
self.mount_quit();
|
||||
|
||||
Reference in New Issue
Block a user