| 1 |
use strict; |
| 2 |
use warnings; |
| 3 |
use File::Glob qw( bsd_glob ); |
| 4 |
|
| 5 |
unlink $_ for map { bsd_glob($_) } ( |
| 6 |
'ffi/_build/*', |
| 7 |
't/ffi/_build/*', |
| 8 |
't/ffi/*.so', |
| 9 |
't/ffi/*.dll', |
| 10 |
't/ffi/*.bundle', |
| 11 |
'xs/*.o', |
| 12 |
'xs/*.obj', |
| 13 |
'examples/*.o', |
| 14 |
'examples/*.so', |
| 15 |
'examples/*.dll', |
| 16 |
'examples/*.bundle', |
| 17 |
'corpus/ffi_build/project1/_build/*', |
| 18 |
'config.log', |
| 19 |
'test*.o', |
| 20 |
'test*.c', |
| 21 |
'*.core', |
| 22 |
'core', |
| 23 |
'include/ffi_platypus_config.h', |
| 24 |
'FFI-Platypus-*.tar.gz', |
| 25 |
); |
| 26 |
|
| 27 |
rmdir 'ffi/_build' if -d 'ffi/_build'; |
| 28 |
rmdir 't/ffi/_build' if -d 't/ffi/_build'; |
| 29 |
rmdir 'corpus/ffi_build/project1/_build' if -d 'corpus/ffi_build/project1/_build'; |