Skip to content

Commit 8a1ef84

Browse files
Revert "Reducing project size."
This reverts commit 3fc4e93.
1 parent b1facf9 commit 8a1ef84

File tree

1,006 files changed

+109189
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,006 files changed

+109189
-4
lines changed

.gitignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ playground.xcworkspace
3535
# Swift Package Manager
3636
#
3737
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
38-
Packages/
39-
Package.pins
38+
# Packages/
39+
# Package.pins
4040
.build/
4141

4242
# CocoaPods
@@ -51,8 +51,9 @@ Package.pins
5151
# Carthage
5252
#
5353
# Add this line if you want to avoid checking in source code from Carthage dependencies.
54-
Carthage/Checkouts
55-
Carthage/Build
54+
# Carthage/Checkouts
55+
56+
#Carthage/Build
5657

5758
# fastlane
5859
#
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ignore:
2+
- "/Tests/*"
3+
comment:
4+
layout: "header, diff"
5+
behavior: default
6+
require_changes: no
7+
coverage:
8+
status:
9+
project:
10+
default:
11+
target: auto
12+
threshold: null
13+
base: auto
14+
paths: "Sources/*"
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Swift
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
macos:
10+
runs-on: macos-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Install jazzy
14+
run: gem install jazzy
15+
- name: Generate documentation
16+
run: |
17+
jazzy \
18+
--clean \
19+
--github-file-prefix "https://github.com/attaswift/$module/tree/${GITHUB_REF}" \
20+
--module-version "${{ github.event.release.tag_name }}" \
21+
--copyright "© $(date '+%Y') [Károly Lőrentey](https://twitter.com/lorentey). (Last updated: $(date '+%Y-%m-%d'))" \
22+
--config .jazzy.yml
23+
- name: Commit docs
24+
run: |
25+
git config --local user.email "[email protected]"
26+
git config --local user.name "GitHub Actions"
27+
git add ./docs
28+
git commit -m "Update docs"
29+
git push origin HEAD:master
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Swift
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
macos:
11+
runs-on: macos-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Build
15+
run: swift build --build-tests
16+
- name: Run tests
17+
run: swift test
18+
xcode:
19+
runs-on: macos-latest
20+
strategy:
21+
matrix:
22+
scheme: [BigInt-macOS, BigInt-iOS, BigInt-watchOS, BigInt-tvOS]
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Build
26+
run: xcrun xcodebuild -workspace BigInt.xcworkspace -scheme ${{ matrix.scheme }}
27+
linux:
28+
container:
29+
image: swift:${{ matrix.linux }}
30+
runs-on: ubuntu-latest
31+
strategy:
32+
matrix:
33+
linux: [bionic, xenial, focal]
34+
steps:
35+
- uses: actions/checkout@v2
36+
- name: Build
37+
run: swift build --build-tests --enable-test-discovery
38+
- name: Test
39+
run: swift test --enable-test-discovery
40+
codecov:
41+
runs-on: macos-latest
42+
steps:
43+
- uses: actions/checkout@v2
44+
- name: Test and generate code coverage report
45+
run: xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-macOS test
46+
- name: Upload coverage to Codecov
47+
uses: codecov/codecov-action@v1

Carthage/Checkouts/BigInt/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/Carthage/Build
2+
/.build
3+
/Packages
4+
xcuserdata
5+
/Package.pins
6+
/Package.resolved

Carthage/Checkouts/BigInt/.jazzy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module: BigInt
2+
author: Károly Lőrentey
3+
theme: fullwidth
4+
output: ./docs
5+
author_url: "https://twitter.com/lorentey"
6+
github_url: "https://github.com/attaswift/BigInt"
7+
root_url: "https://attaswift.github.io/BigInt/reference/"
8+
xcodebuild_arguments: ["-workspace", "BigInt.xcworkspace", "-scheme", "BigInt-macOS"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.0

Carthage/Checkouts/BigInt/.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: swift
2+
osx_image: xcode11
3+
script:
4+
- swift build
5+
- swift test
6+
- xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-macOS test
7+
- xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-iOS -destination generic/platform=iOS
8+
- xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-watchOS
9+
- xcrun xcodebuild -workspace BigInt.xcworkspace -scheme BigInt-tvOS
10+
after_success: bash <(curl -s https://codecov.io/bash)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
Pod::Spec.new do |spec|
3+
spec.name = 'BigInt'
4+
spec.version = '5.3.0'
5+
spec.ios.deployment_target = "8.0"
6+
spec.osx.deployment_target = "10.9"
7+
spec.tvos.deployment_target = "9.0"
8+
spec.watchos.deployment_target = "2.0"
9+
spec.license = { :type => 'MIT', :file => 'LICENSE.md' }
10+
spec.summary = 'Arbitrary-precision arithmetic in pure Swift'
11+
spec.homepage = 'https://github.com/attaswift/BigInt'
12+
spec.author = 'Károly Lőrentey'
13+
spec.source = { :git => 'https://github.com/attaswift/BigInt.git', :tag => 'v' + String(spec.version) }
14+
spec.source_files = 'Sources/*.swift'
15+
spec.social_media_url = 'https://twitter.com/lorentey'
16+
spec.documentation_url = 'http://attaswift.github.io/BigInt/'
17+
end

0 commit comments

Comments
 (0)