-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from brightdigit/release/3.0.0
Release/3.0.0
- Loading branch information
Showing
2,744 changed files
with
15,203 additions
and
8,475 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: macOS | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
env: | ||
PACKAGE_NAME: Speculid | ||
|
||
runs-on: macos-latest | ||
if: "!contains(github.event.head_commit.message, 'ci skip')" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Prepare Build | ||
run: brew bundle | ||
#- name: Build | ||
# run: swift build | ||
- name: Lint | ||
run: swiftformat --lint . && swiftlint | ||
#- name: Run tests | ||
# run: swift test -v --enable-code-coverage | ||
#- name: Prepare Code Coverage | ||
# run: xcrun llvm-cov export -format="lcov" .build/debug/${{ env.PACKAGE_NAME }}PackageTests.xctest/Contents/MacOS/${{ env.PACKAGE_NAME }}PackageTests -instr-profile .build/debug/codecov/default.profdata > info.lcov | ||
#- name: Upload to CodeCov.io | ||
# run: bash <(curl https://codecov.io/bash) -F github -F macOS -n ${{ github.sha }} | ||
# env: | ||
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
#- name: Build Documentation | ||
# run: sourcedocs generate --spm-module ${{ env.PACKAGE_NAME }} | ||
#- name: Verify Valid Swift Package | ||
# run: swift package dump-package | jq -e ".products | length > 0" | ||
#- name: CocoaPods Action | ||
# run: pod lib lint | ||
|
||
#- name: Commit files | ||
# run: | | ||
# git config --local user.email "[email protected]" | ||
# git config --local user.name "GitHub Action" | ||
# git status | ||
# git add Documentation | ||
# git diff-index --quiet HEAD || git commit -m "[github action] Update Docs" | ||
# git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
[submodule "scripts/github-markdown-toc"] | ||
path = scripts/github-markdown-toc | ||
url = https://github.com/ekalinin/github-markdown-toc.git | ||
[submodule "packages/homebrew"] | ||
path = packages/homebrew | ||
url = https://github.com/brightdigit/homebrew-speculid.git | ||
[submodule "packages/fastlane"] | ||
path = packages/fastlane | ||
url = https://github.com/brightdigit/fastlane-plugin-speculid.git | ||
[submodule "packages/SpeculidKit"] | ||
path = packages/SpeculidKit | ||
url = https://github.com/brightdigit/SpeculidKit.git | ||
branch = release/3.0.0-alpha.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
swiftlint: | ||
config_file: .swiftlint.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.1 | ||
5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--indent 2 | ||
--header strip | ||
--commas inline | ||
--exclude _archive, DerivedData, packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
excluded: # paths to ignore during linting. Takes precedence over `included`. | ||
- Pods | ||
- __archive | ||
- frameworks/speculid/Models/VCS.swift | ||
cyclomatic_complexity: 12 | ||
file_length: 550 | ||
function_body_length: 80 | ||
function_parameter_count: 8 | ||
line_length: 150 | ||
type_body_length: 300 | ||
identifier_name: | ||
excluded: # excluded via string array | ||
- id | ||
excluded: | ||
- Tests/*/XCTestManifests.swift | ||
- DerivedData | ||
- examples/setup/DerivedData | ||
- .build | ||
- _archive | ||
- vendor | ||
- packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,6 @@ | ||
language: objective-c | ||
env: | ||
global: | ||
- secure: hVl7EFbdJhUsIzMXOZ0BESzmcMwro5fSHoFD33xCoWF+4Ov5TtiW5iy02Z4096fbgziD5SBdNG/4y87Z0kqRPPJgcGOObfwE3VWkIYj6dIHaXXnGlmieTEMRkq4a4GOjXJFpJODkKPmMSL1NLqdxUYFmn3rvCyBEQjiRQzygTj4= | ||
branches: | ||
except: | ||
- develop | ||
- release/v2.0.0-beta.1 | ||
git: | ||
quiet: true | ||
osx_image: xcode11 | ||
xcode_workspace: Speculid.xcworkspace | ||
xcode_scheme: Speculid-Mac-App | ||
xcode_destination: platform=macOS | ||
install: | ||
- bundle install | ||
- pod repo update --silent | ||
- pod install --silent | ||
os: osx | ||
osx_image: xcode12.2 | ||
before_install: | ||
- bash -e ./Scripts/before_install.sh | ||
script: | ||
- ./scripts/decrypt-certs.sh | ||
- ./scripts/build-keychain.sh | ||
- xcodebuild test -enableCodeCoverage YES -quiet -workspace speculid.xcworkspace -scheme "Speculid-Mac-App" | ||
- xcodebuild archive -quiet -workspace speculid.xcworkspace -scheme "Speculid-Mac-App" -configuration Release -derivedDataPath ./build -archivePath ./build/Products/Speculid.xcarchive | ||
- xcodebuild -quiet -exportArchive -archivePath ./build/Products/Speculid.xcarchive -exportOptionsPlist ./exportOptions.plist -exportPath ./build/Products/App | ||
- ditto -c -k --sequesterRsrc --keepParent ./build/Products/App/Speculid.app build/Speculid.zip | ||
- open Build/Products/App/Speculid.app | ||
- osascript -e 'tell application "Speculid" to quit' | ||
- diff examples/shasum <(./scripts/shasum.sh) | ||
- ./build/Products/App/Speculid.app/Contents/SharedSupport/speculid --version --useLocation ./build/Products/App/Speculid.app | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -J "Speculid" | ||
after_failure: | ||
- "./scripts/shasum.sh" | ||
- find "examples/Assets/." -type f \( -iname \*.icns -o -iname \*.png -o -iname \*.pdf | ||
\) -print0 | sort -z | xargs -0 shasum -a 512 | ||
notifications: | ||
webhooks: | ||
urls: | ||
- https://webhooks.gitter.im/e/f596466e5c30701b566d | ||
on_success: change | ||
on_failure: always | ||
on_start: never | ||
- bash -e ./Scripts/script.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
brew "swiftformat" | ||
brew "swiftlint" | ||
brew "sourcedocs" | ||
brew "carthage" | ||
brew "jq" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
# Reference Documentation | ||
This reference documentation was generated with | ||
[SourceDocs](https://github.com/eneko/SourceDocs). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
# Reference Documentation | ||
This reference documentation was generated with | ||
[SourceDocs](https://github.com/eneko/SourceDocs). |
Oops, something went wrong.