From 33fd3d0b3553031d3071297dd700d188b4715460 Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Tue, 9 Dec 2014 17:56:21 +0100 Subject: [PATCH] in spec mode, build directory will be build/Testing-#{API_VERSION}/ --- lib/motion/project/template/android/config.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/motion/project/template/android/config.rb b/lib/motion/project/template/android/config.rb index d2c4c538..a2e2d513 100644 --- a/lib/motion/project/template/android/config.rb +++ b/lib/motion/project/template/android/config.rb @@ -132,7 +132,8 @@ module Motion; module Project; end def versionized_build_dir - File.join(build_dir, build_mode_name + '-' + api_version) + sep = spec_mode ? 'Testing' : build_mode_name + File.join(build_dir, sep + '-' + api_version) end def build_tools_dir