Skip to content

Commit

Permalink
Merge pull request #1 from MFB-Technologies-Inc/publish
Browse files Browse the repository at this point in the history
Publish code
  • Loading branch information
sam-mfb authored May 21, 2022
2 parents c64ee59 + 51fbd01 commit 5a1549b
Show file tree
Hide file tree
Showing 50 changed files with 3,255 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test

on:
push:
branches:
- main
pull_request:
branches:
- '*'
workflow_dispatch:

jobs:
example:
runs-on: ${{ matrix.runsOn }}
env:
DEVELOPER_DIR: "/Applications/${{ matrix.xcode }}/Contents/Developer"
strategy:
matrix:
include:
- xcode: "Xcode_12.5.1.app"
runsOn: macOS-11
- xcode: "Xcode_13.2.1.app"
runsOn: macOS-12
steps:
- uses: actions/checkout@v2
- name: Run tests
run: xcodebuild -project ./Example/Example.xcodeproj -scheme Example test -destination platform='iOS Simulator',name='iPhone 11' -quiet -enableCodeCoverage YES -derivedDataPath "./output"
9 changes: 9 additions & 0 deletions .swiftformat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
--extensionacl on-declarations
--redundanttype explicit
--swiftversion 5.5
--maxwidth 120
--header "{file}\nPickBetter\n\nCopyright © {year} MFB Technologies, Inc. All rights reserved. All rights reserved.\n\nThis source code is licensed under the MIT license found in the\nLICENSE file in the root directory of this source tree."
--allman false
--exclude **/*/output
--wraparguments before-first
--wrapcollections before-first
26 changes: 26 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
disabled_rules:
- multiple_closures_with_trailing_closure # by SwiftUI
- trailing_comma # conflicts with SwiftFormat
- opening_brace # conflicts with SwiftFormat
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
- ./**/.build
- ./**/output
- ./**/test_output
- ./**/Previews
identifier_name:
allowed_symbols: "_"
excluded: # excluded via string array
- id
- to
- vm
- vc
- _min
- _max
- or
- by
type_name:
allowed_symbols: "_"
excluded:
- ID
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
10 changes: 10 additions & 0 deletions Example/Example-macOS/Example_macOS.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-only</key>
<true/>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading

0 comments on commit 5a1549b

Please sign in to comment.