Skip to content

Commit

Permalink
4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rockbruno committed May 14, 2020
1 parent 1b3c540 commit 0d5da1e
Show file tree
Hide file tree
Showing 274 changed files with 7,602 additions and 14,309 deletions.
60 changes: 0 additions & 60 deletions .circleci/config.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ci

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: make build
- name: Run tests
run: make test
- name: Check the example project
run: cd ./ExampleProject && make swiftshield
- name: Try to package it
run: make package
74 changes: 21 additions & 53 deletions .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,55 +1,23 @@
## macOS
.DS_Store

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
/.build
/.builda
/Packages
swiftinfo
/build
/build1
/build2
/SwiftInfo-output
/bin
BuildTools/.build
SwiftInfo-output
Pods
*.xcworkspace
build
ExampleProject/fastlane/report.xml
ExampleProject/fastlane/test_output/report.html
ExampleProject/fastlane/test_output/report.junit
.swiftpm
swiftshield-output/
swiftshield.xcodeproj
xcuserdata/

## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint
*.profraw
*.xcuserdata
*.xcuserstate

## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
*.orig

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
.build/

# CocoaPods
Pods/

# Carthage
Carthage/Build

# fastlane
fastlane/README.md
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/*
fastlane/test_output/*

# CircleCI
vendor/*
xcschememanagement.plist
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.5
2.6.5
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.2
30 changes: 30 additions & 0 deletions .swiftformat.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
--symlinks ignore
--allman false
--binarygrouping 4,8
--commas inline
--decimalgrouping 3,6
--elseposition same-line
--empty void
--experimental enabled
--exponentcase lowercase
--exponentgrouping disabled
--fractiongrouping disabled
--header ignore
--hexgrouping 4,8
--hexliteralcase uppercase
--ifdef indent
--indentcase false
--importgrouping testable-bottom
--linebreaks lf
--octalgrouping 4,8
--operatorfunc spaced
--patternlet hoist
--ranges spaced
--self remove
--semicolons never
--stripunusedargs always
--trimwhitespace always
--wraparguments before-first
--wrapcollections before-first
--enable isEmpty,duplicateImports,consecutiveSpaces,redundantFileprivate,redundantGet,redundantRawValues,spaceAroundBrackets,redundantVoidReturnType,redundantNilInit,redundantParens,redundantInit,strongifiedSelf
--disable redundantSelf,unusedArguments,hoistPatternLet,redundantBackticks,linebreakAtEndOfFile,trailingClosures,strongOutlets
5 changes: 5 additions & 0 deletions ExampleProject/DifferentModule/FileFromDifferentModule.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import Foundation

public struct StructFromDifferentModule {
public static func methodFromDifferentModule() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
Expand Down
Loading

0 comments on commit 0d5da1e

Please sign in to comment.