Skip to content

Commit f54a51b

Browse files
authored
Merge pull request #19 from mjcheetham/macos-msauth-helper
Add Microsoft Authentication helper for macOS
2 parents af15e18 + a550f0c commit f54a51b

28 files changed

+1164
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,3 +331,7 @@ ASALocalRun/
331331

332332
# macOS Finder files
333333
.DS_Store
334+
335+
# GCM build output
336+
out/
337+

build/templates/build-and-test.macos.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,26 @@ steps:
2121
publishTestResults: true
2222
#testRunTitle: 'Common unit tests (macOS)' # option not yet available
2323
continueOnError: true
24+
25+
- task: CocoaPods@0
26+
displayName: Install CocoaPods for Microsoft Authentication helper
27+
inputs:
28+
projectDirectory: 'macos/Microsoft.Authentication.Helper'
29+
30+
- task: Xcode@5
31+
displayName: Compile Microsoft Authentication helper
32+
inputs:
33+
xcWorkspacePath: 'macos/Microsoft.Authentication.Helper/Microsoft.Authentication.Helper.xcworkspace'
34+
configuration: $(configuration)
35+
scheme: 'Microsoft.Authentication.Helper'
36+
sdk: macosx
37+
38+
- script: 'macos/installer/build-installer.sh --configuration=$(configuration) --version=1.0'
39+
displayName: Build installer package
40+
failOnStderr: true
41+
42+
- task: PublishPipelineArtifact@0
43+
displayName: Publish installer package
44+
inputs:
45+
artifactName: 'macOS Installer'
46+
targetPath: 'out/macos/installer/'

macos/.gitignore

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Xcode
2+
#
3+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4+
5+
## Build generated
6+
build/
7+
DerivedData/
8+
9+
## Various settings
10+
*.pbxuser
11+
!default.pbxuser
12+
*.mode1v3
13+
!default.mode1v3
14+
*.mode2v3
15+
!default.mode2v3
16+
*.perspectivev3
17+
!default.perspectivev3
18+
xcuserdata/
19+
20+
## Other
21+
*.moved-aside
22+
*.xccheckout
23+
*.xcscmblueprint
24+
25+
## Obj-C/Swift specific
26+
*.hmap
27+
*.ipa
28+
*.dSYM.zip
29+
*.dSYM
30+
31+
# CocoaPods
32+
#
33+
# We recommend against adding the Pods directory to your .gitignore. However
34+
# you should judge for yourself, the pros and cons are mentioned at:
35+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
36+
#
37+
Pods/
38+
#
39+
# Add this line if you want to avoid checking in source code from the Xcode workspace
40+
# *.xcworkspace
41+
42+
# Carthage
43+
#
44+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
45+
# Carthage/Checkouts
46+
47+
Carthage/Build
48+
49+
# fastlane
50+
#
51+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
52+
# screenshots whenever they are needed.
53+
# For more information about the recommended setup visit:
54+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
55+
56+
fastlane/report.xml
57+
fastlane/Preview.html
58+
fastlane/screenshots/**/*.png
59+
fastlane/test_output
60+
61+
# Code Injection
62+
#
63+
# After new code Injection tools there's a generated folder /iOSInjectionProject
64+
# https://github.com/johnno1962/injectionforxcode
65+
66+
iOSInjectionProject/

0 commit comments

Comments
 (0)