From ce0dbf6b249956700c6a1705bf4ad85a09d53e8c Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Sun, 15 Feb 2026 21:27:00 +0100 Subject: feat: witryna 0.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch, cleanup, and status CLI commands. Persistent build state via state.json. Post-deploy hooks on success and failure with WITRYNA_BUILD_STATUS. Dependency diet (axum→tiny_http, clap→argh, tracing→log). Drop built-in rate limiting. Nix flake with NixOS module. Arch Linux PKGBUILD. Centralized version management. Co-Authored-By: Claude Opus 4.6 --- tests/integration/cli_run.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/integration/cli_run.rs') diff --git a/tests/integration/cli_run.rs b/tests/integration/cli_run.rs index 0ea8d20..e12beb5 100644 --- a/tests/integration/cli_run.rs +++ b/tests/integration/cli_run.rs @@ -80,10 +80,10 @@ sites = [] let output = Command::new(witryna_bin()) .args([ - "--config", - config_path.to_str().unwrap(), "run", "nonexistent", + "--config", + config_path.to_str().unwrap(), ]) .stdout(Stdio::piped()) .stderr(Stdio::piped()) @@ -130,10 +130,10 @@ async fn cli_run_build_failure_exits_nonzero() { let output = Command::new(witryna_bin()) .args([ - "--config", - config_path.to_str().unwrap(), "run", "fail-site", + "--config", + config_path.to_str().unwrap(), ]) .stdout(Stdio::piped()) .stderr(Stdio::piped()) @@ -193,10 +193,10 @@ async fn cli_run_builds_site_successfully() { let output = Command::new(witryna_bin()) .args([ - "--config", - config_path.to_str().unwrap(), "run", "test-site", + "--config", + config_path.to_str().unwrap(), ]) .stdout(Stdio::piped()) .stderr(Stdio::piped()) @@ -254,11 +254,11 @@ async fn cli_run_verbose_shows_build_output() { let output = Command::new(witryna_bin()) .args([ - "--config", - config_path.to_str().unwrap(), "run", "verbose-site", "--verbose", + "--config", + config_path.to_str().unwrap(), ]) .stdout(Stdio::piped()) .stderr(Stdio::piped()) -- cgit v1.2.3