mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fda4dba237
* chore(examples): update workspace members * build(examples): clean e2e crates * build(examples): clean pkg directories * chore: remove simulated change comment * chore: add simulated change * chore: remove simulated change
36 lines
652 B
TOML
36 lines
652 B
TOML
[tasks.clean]
|
|
dependencies = [
|
|
"clean-cargo",
|
|
"clean-trunk",
|
|
"clean-node_modules",
|
|
"clean-playwright",
|
|
"clean-pkg",
|
|
]
|
|
|
|
[tasks.clean-cargo]
|
|
script = '''
|
|
find . -type d -name target | xargs rm -rf
|
|
'''
|
|
|
|
[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
|
|
'''
|
|
|
|
[tasks.clean-pkg]
|
|
script = '''
|
|
find . -type d -name pkg | xargs rm -rf
|
|
'''
|