mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
bc7736bc99
# Description This PR adds a fuzzer for the nu-path and the nu-parser crate. Now you can go to `crates/nu-path/fuzz`/`crates/nu-parser/fuzz` and run `cargo fuzz` to find crashes. https://github.com/nushell/nushell/issues/10365 and #9417 was found by this --------- Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
6 lines
265 B
Text
Executable file
6 lines
265 B
Text
Executable file
# Check if 'seeds' directory exists. If not, create one.
|
|
let seeds_exists = "./seeds" | path exists
|
|
if $seeds_exists == false { mkdir seeds }
|
|
|
|
# Gather all "*.nu" files from '../..' and copy them into 'seeds'
|
|
ls ../../**/*.nu | get name | each {|f| cp $f ./seeds/}
|