Skip to content

Commit

Permalink
Tidy up the Package.swift and add some docs for contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
gazreese committed May 2, 2024
1 parent 91790bb commit 0362a47
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 0 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,5 @@ let package = Package(
name: "FlagsmitClientTests",
dependencies: ["FlagsmithClient"],
path: "FlagsmithClient/Tests")
// .binaryTarget(
// name: "swiftformat",
// url: "https://github.com/nicklockwood/SwiftFormat/releases/download/0.53.8/swiftformat.artifactbundle.zip",
// checksum: "12c4cd6e1382479cd38bba63c81eb50121f9b2212a8b1f8f5fa9ed1d1c6d07d1"
// ),
]
)
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ For full documentation visit [https://docs.flagsmith.com/clients/ios/](https://d

## Contributing

Please read [CONTRIBUTING.md](https://gist.github.com/kyle-ssg/c36a03aebe492e45cbd3eefb21cb0486) for details on our code of conduct, and the process for submitting pull requests
Please read [CONTRIBUTING.md](https://gist.github.com/kyle-ssg/c36a03aebe492e45cbd3eefb21cb0486) for details on our code of conduct, and the process for submitting pull requests.

We use [SwiftLint](https://github.com/realm/SwiftLint) and [SwiftFormat](https://github.com/nicklockwood/SwiftFormat) to keep our code consistent.

To run `swiftformat` on the project run the following command:

swift package plugin swiftformat

To run `swiftlint` on the project please check out the documentation above to install the linter with your preferred method of integration. The linter will run on the project when the PR is raised, so it's worth checking beforehand.

## Getting Help

Expand Down

0 comments on commit 0362a47

Please sign in to comment.