mirror of
https://github.com/YosysHQ/sby.git
synced 2025-09-05 02:57:45 +00:00
As per https://stackoverflow.com/a/54950959, `os.path.basename()` returns an empty string if the string ends with a trailing slash. This means that the target implied by `dir/` differs from an explicit target of `dir/`, and changes the behaviour to copy files to the root `src` directory instead.
25 lines
281 B
Text
25 lines
281 B
Text
[tasks]
|
|
link
|
|
copy
|
|
dir_implicit: dir
|
|
dir_explicit: dir
|
|
|
|
[options]
|
|
mode prep
|
|
|
|
[engines]
|
|
btor btormc
|
|
|
|
[script]
|
|
read -noverific
|
|
script dir/script.ys
|
|
|
|
[files]
|
|
../../docs/examples/demos/picorv32.v
|
|
prv32fmcmp.v
|
|
~dir: dir
|
|
dir_implicit: dir/
|
|
dir_explicit: dir/ dir/
|
|
|
|
[file heredoc]
|
|
log foo
|