nushell/scripts
132ikl 616e9faaf1
Fix main binary being rebuilt when nothing has changed (#13337)
# Description
<!--
Thank you for improving Nushell. Please, check our [contributing
guide](../CONTRIBUTING.md) and talk to the core team before making major
changes.

Description of your pull request goes here. **Provide examples and/or
screenshots** if your changes affect the user experience.
-->

The build script is currently re-run on each `cargo build` even when it
has not changed. The `rerun-if-changed` line points to `/build.rs`, but
`build.rs` is actually located at `/scripts/build.rs`. This updates that
path.

# User-Facing Changes
N/A

# Tests + Formatting
N/A
2024-07-10 18:05:24 -05:00
..
build-all-maclin.sh Remove dataframes crate and feature (#12889) 2024-05-20 17:22:08 +00:00
build-all-windows.cmd Remove dataframes crate and feature (#12889) 2024-05-20 17:22:08 +00:00
build-all.nu Remove dataframes crate and feature (#12889) 2024-05-20 17:22:08 +00:00
build.rs Fix main binary being rebuilt when nothing has changed (#13337) 2024-07-10 18:05:24 -05:00
coverage-local.nu Add long options for path (#10775) 2023-10-19 22:07:01 +02:00
coverage-local.sh Fix unit tests on Android (#10224) 2023-09-05 20:17:34 +12:00
install-all.ps1 Remove dataframes crate and feature (#12889) 2024-05-20 17:22:08 +00:00
install-all.sh Remove dataframes crate and feature (#12889) 2024-05-20 17:22:08 +00:00
README.md remove the deprecated register command (#13297) 2024-07-05 07:16:50 -05:00
test_virtualenv.nu Check for clean repo after tests (#11409) 2023-12-23 20:28:07 +01:00
uninstall-all.sh update install/build scripts to include --locked (#10086) 2023-08-21 12:42:42 -05:00

run the scripts

Note


the following table must be read as follows:

  • an x means it works
  • a ? means no data available

.nu scripts must be run as nu .../foo.nu
.sh scripts must be run as ./.../foo.sh
.ps1 scripts must be run as powershell .../foo.ps1

let's say a script is called foo

  • an x in the ./scripts column means foo can be run from ./scripts
  • an x in the root column means foo can be run from the root of nushell
  • an x in the anywhere column means foo can be run from anywhere!
script ./scripts/ root anywhere
build-all-maclin.sh x x x
build-all-windows.cmd ? x ?
build-all.nu x x x
coverage-local.nu x x x
coverage-local.sh x x x
install-all.ps1 ? x ?
install-all.sh x x x
uninstall-all.sh x x x