Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

Commit

Permalink
Modernize repo & make it fully SPM compatible
Browse files Browse the repository at this point in the history
This change makes the Wrap project a bit more modern, by re-generating the
project files using SwiftPlate, and fixing a compiler error when using SPM
to test the project. The project is now up-to-date and fully SPM compatible.
  • Loading branch information
JohnSundell committed Feb 22, 2017
1 parent 4eed675 commit 16e41b9
Show file tree
Hide file tree
Showing 18 changed files with 515 additions and 409 deletions.
44 changes: 39 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData/

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
Expand All @@ -9,19 +15,35 @@ build/
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
xcuserdata/

## Other
*.moved-aside
DerivedData
*.xccheckout
*.xcscmblueprint

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

## Playgrounds
timeline.xctimeline
playground.xcworkspace

# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
.build/

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/

Expand All @@ -31,3 +53,15 @@ DerivedData
# Carthage/Checkouts

Carthage/Build

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
2 changes: 1 addition & 1 deletion Configs/OSX.plist → Configs/Wrap.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2015 John Sundell. All rights reserved.</string>
<string>Copyright © 2015 - 2017 John Sundell. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down
File renamed without changes.
26 changes: 0 additions & 26 deletions Configs/iOS.plist

This file was deleted.

26 changes: 0 additions & 26 deletions Configs/tvOS.plist

This file was deleted.

26 changes: 0 additions & 26 deletions Configs/watchOS.plist

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 John Sundell
Copyright (c) 2015 - 2017 John Sundell

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 1 addition & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import PackageDescription

let package = Package(
name: "Wrap",
exclude: ["Tests"]
name: "Wrap"
)
2 changes: 1 addition & 1 deletion Sources/Wrap.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* For usage, see documentation of the classes/symbols listed in this file, as well
* as the guide available at: github.com/johnsundell/wrap
*
* Copyright (c) 2015 John Sundell. Licensed under the MIT license, as follows:
* Copyright (c) 2015 - 2017 John Sundell. Licensed under the MIT license, as follows:
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 16e41b9

Please sign in to comment.