diff --git a/CHANGELOG.md b/CHANGELOG.md index 32764657b..19bc7eae5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Changelog +- **Fixed** On macOS, task commands that use `sh` or `bash` now behave as they do on Linux in four cases. A `while read` loop with a redirect under `set -e` no longer exits the script. An `EXIT` trap now sees the exit status in `$?`, and a bare `exit` in the trap keeps that status, so a failed task is no longer reported as successful. `$BASH` is now set when the command runs as `bash`. The bundled shell is updated to an Oils build from master that has these fixes ([#939](https://github.com/voidzero-dev/vite-task/pull/939)). - **Changed** `vp run` now loads a package's `vite.config.*` only when the run reaches one of that package's tasks; the workspace root's config still always loads. A run in one package no longer waits for every package's config to load, and a broken config in another package no longer fails it. Runs that reach that package, such as `vp run -r build` or a task whose `dependsOn` names one of its tasks, still fail with the config's error, and `vp run` without a task, which lists every task, still loads every config ([#944](https://github.com/voidzero-dev/vite-task/pull/944)). - **Changed** Folder listings no longer skip entries named `dist`: a `dist` folder appearing in or disappearing from a folder a task lists now makes the next run a cache miss. To keep it out, add `"!dist/**"` to the task's `input` ([#919](https://github.com/voidzero-dev/vite-task/pull/919)). - **Changed** Exclusions in a task's `input`, like `"!dist/**"`, now also apply to the folders the task lists, so an excluded entry appearing or disappearing there no longer makes the next run a cache miss ([#941](https://github.com/voidzero-dev/vite-task/pull/941)). diff --git a/crates/fspy/build.rs b/crates/fspy/build.rs index d6d6982b9..9710c2e18 100644 --- a/crates/fspy/build.rs +++ b/crates/fspy/build.rs @@ -72,13 +72,13 @@ const MACOS_BINARY_DOWNLOADS: &[(&str, &[BinaryDownload])] = &[ ( "aarch64", &[ - // https://github.com/wan9chi/oils-for-unix-build/releases/tag/oils-for-unix-0.38.0 + // https://github.com/wan9chi/oils-for-unix-build/releases/tag/oils-for-unix-0.38.0-git-d114978ca467143f171a835cbcbe8ab6ccc009a7 BinaryDownload { name: "oils_for_unix", env_var: "FSPY_MACOS_ARTIFACT_OILS_FOR_UNIX", - url: "https://github.com/wan9chi/oils-for-unix-build/releases/download/oils-for-unix-0.38.0/oils-for-unix-0.38.0-darwin-arm64.tar.gz", + url: "https://github.com/wan9chi/oils-for-unix-build/releases/download/oils-for-unix-0.38.0-git-d114978ca467143f171a835cbcbe8ab6ccc009a7/oils-for-unix-0.38.0-git-d114978ca467143f171a835cbcbe8ab6ccc009a7-darwin-arm64.tar.gz", path_in_targz: "oils-for-unix", - expected_sha256: "b6e9d77aa6b22692f6132ca03346a8e166f1f57d966712f0ffff14c89412df15", + expected_sha256: "ac12f48c03f18edd39f509b9a12e162ba38702a4c6461fd3f1650b2d67406467", }, // https://github.com/uutils/coreutils/releases/tag/0.4.0 BinaryDownload { @@ -93,13 +93,13 @@ const MACOS_BINARY_DOWNLOADS: &[(&str, &[BinaryDownload])] = &[ ( "x86_64", &[ - // https://github.com/wan9chi/oils-for-unix-build/releases/tag/oils-for-unix-0.38.0 + // https://github.com/wan9chi/oils-for-unix-build/releases/tag/oils-for-unix-0.38.0-git-d114978ca467143f171a835cbcbe8ab6ccc009a7 BinaryDownload { name: "oils_for_unix", env_var: "FSPY_MACOS_ARTIFACT_OILS_FOR_UNIX", - url: "https://github.com/wan9chi/oils-for-unix-build/releases/download/oils-for-unix-0.38.0/oils-for-unix-0.38.0-darwin-x86_64.tar.gz", + url: "https://github.com/wan9chi/oils-for-unix-build/releases/download/oils-for-unix-0.38.0-git-d114978ca467143f171a835cbcbe8ab6ccc009a7/oils-for-unix-0.38.0-git-d114978ca467143f171a835cbcbe8ab6ccc009a7-darwin-x86_64.tar.gz", path_in_targz: "oils-for-unix", - expected_sha256: "1a41a729538fd3663809c70f72179503345ea717b956607771ba766574ab6382", + expected_sha256: "0193ef17d601b0e3c190e20c8a6144a5f9c62f65794aae4a1d7db7d873dd8149", }, // https://github.com/uutils/coreutils/releases/tag/0.4.0 BinaryDownload {