Skip to content

Commit

Permalink
Merge pull request #9 from bitrise-core/xamarin_fix
Browse files Browse the repository at this point in the history
xamarin builder step update, components detect fix
  • Loading branch information
godrei committed Jun 1, 2016
2 parents 760392c + 32eb366 commit 49162a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
_scan_result/
_defaults/
_tmp/
.bitrise*


4 changes: 2 additions & 2 deletions scanners/xamarin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 49162a7

Please sign in to comment.