From c6d5d1d30ee0a23af02e1a97014196df3ded2ce3 Mon Sep 17 00:00:00 2001 From: David Mohundro Date: Mon, 20 Oct 2025 13:55:53 -0500 Subject: [PATCH] chore: remove rake, update docs --- CONTRIBUTING.md | 24 ++++++++++++------------ Rakefile | 14 -------------- 2 files changed, 12 insertions(+), 26 deletions(-) delete mode 100644 Rakefile diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6be66b65..d4c14527 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,10 +2,10 @@ ## Topics -* [Getting Help](#getting-help) -* [Reporting Issues](#reporting-issues) -* [Development](#development) -* [Thank You!](#thank-you) +- [Getting Help](#getting-help) +- [Reporting Issues](#reporting-issues) +- [Development](#development) +- [Thank You!](#thank-you) ## Getting Help @@ -15,24 +15,24 @@ I monitor [StackOverflow](http://stackoverflow.com) under the [SWXMLHash tag](ht When reporting issues, please include: -* Which version of Xcode you're using -* Which OS or platform you're targeting -* Any stack trace or compiler error -* Code snippets that reproduce the behavior +- Which version of Xcode you're using +- Which OS or platform you're targeting +- Any stack trace or compiler error +- Code snippets that reproduce the behavior Both bug reports and feature requests are welcome! ## Development -SWXMLHash currently uses XCTest for its tests. To run the tests, you can either run them from within Xcode or you can run `rake test`. +SWXMLHash currently uses Swift Testing for its tests. To run the tests, you can either run them from within Xcode or you can run `swift test`. The coding style used is dictated by [SwiftLint](https://github.com/realm/SwiftLint). You can get SwiftLint by running `brew install swiftlint`. To run it, just clone the repository and run `swiftlint`. There is a `.swiftlint.yml` for lint configuration. Prior to submitting a pull request, please verify that: -* The code compiles -* All tests pass -* SwiftLint reports no issues +- The code compiles +- All tests pass +- SwiftLint reports no issues ## Thank You diff --git a/Rakefile b/Rakefile deleted file mode 100644 index 18ed6a18..00000000 --- a/Rakefile +++ /dev/null @@ -1,14 +0,0 @@ -def run(command) - system(command) or raise "RAKE TASK FAILED: #{command}" -end - -desc 'Clean, build and test SWXMLHash' -task :test do |_t| - xcode_build_cmd = 'xcodebuild -workspace SWXMLHash.xcworkspace -scheme "SWXMLHash iOS" -destination "OS=13.0,name=iPhone 11" clean build test -sdk iphonesimulator' - - if system('which xcpretty') - run "#{xcode_build_cmd} | xcpretty -c" - else - run xcode_build_cmd - end -end