THRIFT-3869 Remove Dart packages during make clean
Client: Dart
Patch: Mark Erickson <mark.erickson@workiva.com>
This closes #1047
diff --git a/tutorial/dart/Makefile.am b/tutorial/dart/Makefile.am
index a0032c3..ccca598 100644
--- a/tutorial/dart/Makefile.am
+++ b/tutorial/dart/Makefile.am
@@ -28,6 +28,8 @@
clean-local:
$(RM) -r gen-*
+ find . -type d -name "packages" | xargs $(RM) -r
+ find . -type f -name ".packages" | xargs $(RM)
pub-get: pub-get-gen pub-get-client pub-get-console-client pub-get-server