THRIFT-4019: Dart Makefiles should also clean pubspec.lock
Client: Dart
Patch: Mark Erickson <merickson@apache.org>

This closes #1150
diff --git a/lib/dart/Makefile.am b/lib/dart/Makefile.am
index a6e4556..910db50 100644
--- a/lib/dart/Makefile.am
+++ b/lib/dart/Makefile.am
@@ -24,5 +24,6 @@
 	$(RM) -r .pub
 	find . -type d -name "packages" | xargs $(RM) -r
 	find . -type f -name ".packages" | xargs $(RM)
+	find . -type f -name "pubspec.lock" | xargs $(RM)
 
 check-local: all
diff --git a/test/dart/Makefile.am b/test/dart/Makefile.am
index 6f97de9..e274771 100644
--- a/test/dart/Makefile.am
+++ b/test/dart/Makefile.am
@@ -38,6 +38,7 @@
 	$(RM) -r gen-dart test_client/.pub
 	find . -type d -name "packages" | xargs $(RM) -r
 	find . -type f -name ".packages" | xargs $(RM)
+	find . -type f -name "pubspec.lock" | xargs $(RM)
 
 client: stubs
 	${DART} test_client/bin/main.dart
diff --git a/tutorial/dart/Makefile.am b/tutorial/dart/Makefile.am
index ccca598..438e457 100644
--- a/tutorial/dart/Makefile.am
+++ b/tutorial/dart/Makefile.am
@@ -30,6 +30,7 @@
 	$(RM) -r gen-*
 	find . -type d -name "packages" | xargs $(RM) -r
 	find . -type f -name ".packages" | xargs $(RM)
+	find . -type f -name "pubspec.lock" | xargs $(RM)
 
 pub-get: pub-get-gen pub-get-client pub-get-console-client pub-get-server