feat(build): clean-olean target deletes .olean and .d files
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
59f6cb5962
commit
bc4cef9ecb
1 changed files with 1 additions and 6 deletions
|
@ -327,10 +327,5 @@ endif()
|
|||
|
||||
add_custom_target(clean-olean
|
||||
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library
|
||||
COMMAND find . -name '*.olean' -exec rm -f '{}' '\;'
|
||||
)
|
||||
|
||||
add_custom_target(clean-d
|
||||
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library
|
||||
COMMAND find . -name '*.d' -exec rm -f '{}' '\;'
|
||||
COMMAND find . -type f -name '*.olean' -delete && find . -type f -name '*.d' -delete
|
||||
)
|
Loading…
Reference in a new issue