mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 09:53:43 +01:00
Add --locked
flag to Cargo install
Using the `--locked` flag prevents installation failures when dependencies have broken updates. All references are replaced.
This commit is contained in:
parent
13ce9e4f64
commit
00bc3b054d
@ -3,7 +3,7 @@
|
|||||||
- For detailed info, please look at [cargo-fuzz](https://github.com/rust-fuzz/cargo-fuzz)
|
- For detailed info, please look at [cargo-fuzz](https://github.com/rust-fuzz/cargo-fuzz)
|
||||||
|
|
||||||
# Quick start guide
|
# Quick start guide
|
||||||
- Install cargo-fuzz by `cargo install cargo-fuzz`
|
- Install cargo-fuzz by `cargo install cargo-fuzz --locked`
|
||||||
- Run `gather_seeds.nu` for preparing the initial seeds corpus
|
- Run `gather_seeds.nu` for preparing the initial seeds corpus
|
||||||
- Make output directory `mkdir out`
|
- Make output directory `mkdir out`
|
||||||
- Run the fuzzer with `cargo fuzz run parse out seeds`
|
- Run the fuzzer with `cargo fuzz run parse out seeds`
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
- For detailed info, please look at [cargo-fuzz](https://github.com/rust-fuzz/cargo-fuzz)
|
- For detailed info, please look at [cargo-fuzz](https://github.com/rust-fuzz/cargo-fuzz)
|
||||||
|
|
||||||
# Quick start guide
|
# Quick start guide
|
||||||
- Install cargo-fuzz by `cargo install cargo-fuzz`
|
- Install cargo-fuzz by `cargo install cargo-fuzz --locked`
|
||||||
- Make output directory `mkdir out`
|
- Make output directory `mkdir out`
|
||||||
- Run the fuzzer with `cargo fuzz run parse out`
|
- Run the fuzzer with `cargo fuzz run parse out`
|
||||||
|
@ -5,7 +5,7 @@ Note: this requires Nushell 0.60 or later
|
|||||||
To install:
|
To install:
|
||||||
|
|
||||||
```
|
```
|
||||||
> cargo install --path .
|
> cargo install --path . --locked
|
||||||
```
|
```
|
||||||
|
|
||||||
To add the plugin (from inside Nushell):
|
To add the plugin (from inside Nushell):
|
||||||
|
@ -5,7 +5,7 @@ Note: this requires Nushell 0.60 or later
|
|||||||
To install:
|
To install:
|
||||||
|
|
||||||
```
|
```
|
||||||
cargo install --path .
|
cargo install --path . --locked
|
||||||
```
|
```
|
||||||
|
|
||||||
To add the plugin (from inside Nushell):
|
To add the plugin (from inside Nushell):
|
||||||
|
@ -5,7 +5,7 @@ Note: this requires Nushell 0.60 or later
|
|||||||
To install:
|
To install:
|
||||||
|
|
||||||
```
|
```
|
||||||
> cargo install --path .
|
> cargo install --path . --locked
|
||||||
```
|
```
|
||||||
|
|
||||||
To add the plugin (from inside Nushell):
|
To add the plugin (from inside Nushell):
|
||||||
|
@ -56,7 +56,7 @@ Help from the community to make sure they get tested and improved so they can be
|
|||||||
The Nushell team only provides a select few distribution sources and so far encourages community members to maintain the individual packages for particular package managers:
|
The Nushell team only provides a select few distribution sources and so far encourages community members to maintain the individual packages for particular package managers:
|
||||||
|
|
||||||
We provide:
|
We provide:
|
||||||
- source code distribution via `crates.io` -> `cargo install nu`
|
- source code distribution via `crates.io` -> `cargo install nu --locked`
|
||||||
- GitHub builds with each release: (following the build matrix of the nightly builds)
|
- GitHub builds with each release: (following the build matrix of the nightly builds)
|
||||||
- the setup for `winget` packaging
|
- the setup for `winget` packaging
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ let start = (date now)
|
|||||||
#
|
#
|
||||||
# Output: `lcov.info` file
|
# Output: `lcov.info` file
|
||||||
#
|
#
|
||||||
# Relies on `cargo-llvm-cov`. Install via `cargo install cargo-llvm-cov`
|
# Relies on `cargo-llvm-cov`. Install via `cargo install cargo-llvm-cov --locked`
|
||||||
# https://github.com/taiki-e/cargo-llvm-cov
|
# https://github.com/taiki-e/cargo-llvm-cov
|
||||||
|
|
||||||
# You probably have to run `cargo llvm-cov clean` once manually,
|
# You probably have to run `cargo llvm-cov clean` once manually,
|
||||||
|
@ -7,7 +7,7 @@ REPO_ROOT=$(dirname $DIR)
|
|||||||
#
|
#
|
||||||
# Output: `lcov.info` file
|
# Output: `lcov.info` file
|
||||||
#
|
#
|
||||||
# Relies on `cargo-llvm-cov`. Install via `cargo install cargo-llvm-cov`
|
# Relies on `cargo-llvm-cov`. Install via `cargo install cargo-llvm-cov --locked`
|
||||||
# https://github.com/taiki-e/cargo-llvm-cov
|
# https://github.com/taiki-e/cargo-llvm-cov
|
||||||
|
|
||||||
# You probably have to run `cargo llvm-cov clean` once manually,
|
# You probably have to run `cargo llvm-cov clean` once manually,
|
||||||
|
@ -26,7 +26,7 @@ foreach ( $plugin in $NU_PLUGINS) {
|
|||||||
Write-Output "Install plugin $plugin from local..."
|
Write-Output "Install plugin $plugin from local..."
|
||||||
Write-Output "----------------------------------------------"
|
Write-Output "----------------------------------------------"
|
||||||
Set-Location crates/$plugin
|
Set-Location crates/$plugin
|
||||||
cargo install --force --path .
|
cargo install --force --path . --locked
|
||||||
Set-Location ../../
|
Set-Location ../../
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,5 +30,5 @@ do
|
|||||||
echo "----------------------------------------------"
|
echo "----------------------------------------------"
|
||||||
echo "Install plugin $plugin from local..."
|
echo "Install plugin $plugin from local..."
|
||||||
echo "----------------------------------------------"
|
echo "----------------------------------------------"
|
||||||
cargo install --force --path "$REPO_ROOT/crates/$plugin"
|
cargo install --force --path "$REPO_ROOT/crates/$plugin" --locked
|
||||||
done
|
done
|
||||||
|
@ -373,7 +373,7 @@ def install-plugin [] {
|
|||||||
print $'(char nl)Installing ($plugin)'
|
print $'(char nl)Installing ($plugin)'
|
||||||
print '----------------------------'
|
print '----------------------------'
|
||||||
|
|
||||||
^cargo install --path $"crates/($plugin)"
|
^cargo install --path $"crates/($plugin) --locked"
|
||||||
}
|
}
|
||||||
|
|
||||||
# install Nushell and features you want
|
# install Nushell and features you want
|
||||||
@ -461,7 +461,7 @@ def compute-coverage [] {
|
|||||||
#
|
#
|
||||||
# Output: `lcov.info` file
|
# Output: `lcov.info` file
|
||||||
#
|
#
|
||||||
# Relies on `cargo-llvm-cov`. Install via `cargo install cargo-llvm-cov`
|
# Relies on `cargo-llvm-cov`. Install via `cargo install cargo-llvm-cov --locked`
|
||||||
# https://github.com/taiki-e/cargo-llvm-cov
|
# https://github.com/taiki-e/cargo-llvm-cov
|
||||||
#
|
#
|
||||||
# You probably have to run `cargo llvm-cov clean` once manually,
|
# You probably have to run `cargo llvm-cov clean` once manually,
|
||||||
|
Loading…
Reference in New Issue
Block a user