From 281d2a16b644056c7af5f6bc7f72faf4596dbfb1 Mon Sep 17 00:00:00 2001 From: mpl Date: Tue, 14 Nov 2017 19:24:52 +0100 Subject: [PATCH] clients/android: for building, make caching volume dirs on the host The ~/.gradle and ~/.android dirs are mounted as volumes for the docker container when building the app, because we want the gradle and android deps to be cached on the host after they've been downloaded. The build process was assuming that these dirs always already existed, and this assumption makes the building process fail if they actually don't. Therefore this change creates the directories on the host if they don't already exist. Change-Id: I90b5f73db0ffcbe76adc12157e142091808bde2b --- clients/android/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/android/Makefile b/clients/android/Makefile index cb7942bf2..9c94d9959 100644 --- a/clients/android/Makefile +++ b/clients/android/Makefile @@ -5,6 +5,8 @@ all: ./gradlew assembleRelease env: + mkdir -p $(HOME)/.gradle + mkdir -p $(HOME)/.android docker build -t camlistore/android devenv dockerdev: