williamFalcon / SwiftTryCatch

Adds try-catch support for Swift
MIT License
140 stars 58 forks source link

Add support for Swift Package Manager #19

Closed dfed closed 3 years ago

dfed commented 4 years ago

First up: apologies for the PR before filing an issue 😬. If you don't want some or any of this there's no hard feelings – I did this work to support https://github.com/dfed/CacheAdvance/issues/9, and figured I should try to contribute back.

This PR does the following (each in a separate commit):

  1. Adds a .gitignore file so that Swift Package Manager's artifacts don't make their way into git history.
  2. Adds support for Swift Package Manager by creating a Package.swift
  3. Moves the files into the directories that Swift Package Manager expects (in preparation of adding tests)
  4. Adds a test file
  5. Adds -fobjc-arc-exceptions to the build flags in Swift Package Manager.

Thanks for creating a useful project!

dfed commented 3 years ago

Happy to re-open, but given how long it's been I felt it wasn't worth keeping this PR open.