mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-14 00:27:12 +00:00
2ca1c51fdc
* test(error_boundary): open app * test(error_boundary): click up arrow * test(error_boundary): click down arrow * test(error_boundary): type number * test(error_boundary): clear number * fix(build): clean trunk directories * fix(test-report): detect unit tests * ci(build): echo stop trunk
29 lines
541 B
TOML
29 lines
541 B
TOML
[tasks.clean]
|
|
dependencies = [
|
|
"clean-cargo",
|
|
"clean-trunk",
|
|
"clean-node_modules",
|
|
"clean-playwright",
|
|
]
|
|
|
|
[tasks.clean-cargo]
|
|
command = "rm"
|
|
args = ["-rf", "target"]
|
|
|
|
[tasks.clean-trunk]
|
|
script = '''
|
|
find . -type d -name dist | xargs rm -rf
|
|
'''
|
|
|
|
[tasks.clean-node_modules]
|
|
script = '''
|
|
project_dir=${PWD##*/}
|
|
if [ "$project_dir" != "todomvc" ]; then
|
|
find . -type d -name node_modules | xargs rm -rf
|
|
fi
|
|
'''
|
|
|
|
[tasks.clean-playwright]
|
|
script = '''
|
|
find . -name playwright-report -name playwright -name test-results | xargs rm -rf
|
|
'''
|