From f47dd2d36dcf468ed96c7429ce66bfd8dc0bfc14 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 24 May 2017 17:27:41 -0400 Subject: [PATCH] Clean yarn cache when cleaning webapp (#6490) * Clean yarn cache when cleaning webapp * Add cache clean to .yarninstall target --- webapp/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/Makefile b/webapp/Makefile index c274cafcec..4ab37e55f6 100644 --- a/webapp/Makefile +++ b/webapp/Makefile @@ -13,6 +13,7 @@ test: .yarninstall .yarninstall: package.json @echo Getting dependencies using yarn + yarn cache clean yarn install --pure-lockfile touch $@ @@ -52,3 +53,5 @@ clean: rm -rf dist rm -rf node_modules rm -f .yarninstall + + yarn cache clean