1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-02 07:07:46 +00:00

update some scripts from dash to underscore, add 20k_club script (#271)

This commit is contained in:
Darren Schroeder 2022-08-04 15:25:52 -05:00 committed by GitHub
parent 9ae962ce41
commit ea7de87315
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 206 additions and 106 deletions

View file

@ -260,8 +260,8 @@ export extern "cargo run" [
# Run the tests
export extern "cargo test" [
test-arg-seperator?: string
...args?: any # Arguments to be passed to the tests
test_arg_seperator?: string
...args: any # Arguments to be passed to the tests
--no-run # Compile, but don't run tests
--no-fail-fast # Run all tests regardless of failure
--package(-p): string@"nu-complete cargo packages" # Test only the specified packages
@ -304,8 +304,8 @@ export extern "cargo test" [
# Execute benchmarks of a package
export extern "cargo bench" [
bench-option-seperator?: string
...options?: any # Options to be passed to the benchmarks
bench_option_seperator?: string
# ...options?: any # Options to be passed to the benchmarks
--no-run # Compile, but don't run benchmarks
--no-fail-fast # Run all benchmarks regardless of failure
--package(-p): string@"nu-complete cargo packages" # Benchmark only the specified packages
@ -397,7 +397,7 @@ export extern "cargo publish" [
--locked # Require Cargo.lock is up to date
--offline # Run without accessing the network
--help(-h) # Prints help information
-Z: any # Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details
-Z: any # Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details
--jobs(-j): number # Number of parallel jobs to run
--keep-going # Build as many crates in the dependency graph as possible
]