From 32eb366401898486bdea01b184b60fcc96a6deb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krisztia=CC=81n=20Go=CC=88drei?= Date: Wed, 1 Jun 2016 18:00:05 +0200 Subject: [PATCH] xamarin builder step update, components detect fix --- .gitignore | 3 +++ scanners/xamarin.go | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 5c5c67e2..1de45b17 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ _scan_result/ _defaults/ +_tmp/ .bitrise* + + diff --git a/scanners/xamarin.go b/scanners/xamarin.go index 3a388613..8af4ac98 100644 --- a/scanners/xamarin.go +++ b/scanners/xamarin.go @@ -60,7 +60,7 @@ const ( xamarinPlatformTitle = "Xamarin platform" xamarinPlatformEnvKey = "BITRISE_XAMARIN_PLATFORM" - stepXamarinBuilderIDComposite = "xamarin-builder@1.1.3" + stepXamarinBuilderIDComposite = "xamarin-builder@1.3.0" xamarinIosLicenceKey = "xamarin_ios_license" xamarinIosLicenceTitle = "Xamarin.iOS License" @@ -285,7 +285,7 @@ func (detector *Xamarin) Options() (models.OptionModel, error) { // ItemGroup/XamarinComponentReference added to the project // packages.config added to the project's folder if detector.HasXamarinComponents == false { - componentsExp := regexp.MustCompile(".+/Components/.+") + componentsExp := regexp.MustCompile(".*Components/.+") if result := componentsExp.FindString(file); result != "" { detector.HasXamarinComponents = true }