From 3c55440230f3645816913d9c53b42dcc16b70f95 Mon Sep 17 00:00:00 2001 From: Mark Erickson Date: Wed, 4 Jan 2017 10:11:06 -0600 Subject: [PATCH] THRIFT-4019: Dart Makefiles should also clean pubspec.lock Client: Dart Patch: Mark Erickson This closes #1150 --- lib/dart/Makefile.am | 1 + test/dart/Makefile.am | 1 + tutorial/dart/Makefile.am | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/dart/Makefile.am b/lib/dart/Makefile.am index a6e45568b..910db50fc 100644 --- a/lib/dart/Makefile.am +++ b/lib/dart/Makefile.am @@ -24,5 +24,6 @@ clean-local: $(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 6f97de935..e2747712b 100644 --- a/test/dart/Makefile.am +++ b/test/dart/Makefile.am @@ -38,6 +38,7 @@ clean-local: $(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 ccca59825..438e45738 100644 --- a/tutorial/dart/Makefile.am +++ b/tutorial/dart/Makefile.am @@ -30,6 +30,7 @@ clean-local: $(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