Skip to content

Commit

Permalink
Prepare for GM release
Browse files Browse the repository at this point in the history
  • Loading branch information
swiftyfinch committed Apr 11, 2023
1 parent dd60668 commit b50ebd5
Show file tree
Hide file tree
Showing 34 changed files with 1,020 additions and 146 deletions.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/---bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: "\U0001F41B Bug report"
about: Create a report to help us improve
title: "\U0001F41B Your bug title"
labels: bug
assignees: ''

---

## Did you already try Rugby doctor?
Use `rugby doctor` as a self-diagnostic tool.

## Describe the bug
A clear and concise description of what the bug is.

## To Reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See an error

## Expected behavior
A clear and concise description of what you expected to happen.

## Screenshots
If applicable, add screenshots to help explain your problem.

## Environment (please complete the following information):
- Version [e.g. 2.0.0]
- Logs (use `rugby doctor`)
- Podfile or Example project (if you can share these)

## Additional context
Add any other context about the problem here.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/---feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: "\U0001F52D Feature request"
about: Suggest an idea for this project
title: "\U0001F52D Your feature title"
labels: feature
assignees: ''

---

<!-- Example: https://github.com/swiftyfinch/Rugby/issues/93 -->

## Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

## Describe the solution you'd like
A clear and concise description of what you want to happen.

## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

## Additional context
Add any other context or screenshots about the feature request here.
26 changes: 26 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!--
Hello!
Before you submit your request, please replace the paragraph
below with the relevant details, and complete the steps in the
checklist by placing an 'x' in each box:
- [x] I've completed this task
- [ ] This task isn't completed
Provide links to an existing issue or external references/discussions, if appropriate.
-->

### Description
<!--Please describe your pull request.-->

### References
<!--Provide links to an existing issue or external references/discussions, if appropriate.-->

### Checklist
- [ ] I've added at least one test that validates that my change is working, if appropriate
- [ ] I've followed the code style of the rest of the project
- [ ] I've read the [Contribution Guidelines](CONTRIBUTING.md)
- [ ] I've updated the documentation if necessary

<!--❤️ Thanks for contributing to the 🏈 Rugby!-->
10 changes: 10 additions & 0 deletions .github/scripts/checkSpell.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# It's a temporary solution to check the spelling of *.md and Sources/*.swift files
# Need to install https://github.com/fromkk/SpellChecker

docs_output=`find . -type f -name '*.md' -exec ~/.mint/bin/SpellChecker --yml .github/scripts/spell_checker_whitelist.yml -- {} \; | grep -v 'no typo'`
if [[ $docs_output ]]; then echo $docs_output; fi

source_output=`find Sources -type f -name '*.swift' -exec ~/.mint/bin/SpellChecker --yml .github/scripts/spell_checker_whitelist.yml -- {} \; | grep -v 'no typo'`
if [[ $source_output ]]; then echo $source_output; fi

if [[ $docs_output || $source_output ]]; then exit 1; fi
94 changes: 94 additions & 0 deletions .github/scripts/spell_checker_whitelist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
whiteList:
- pbxproj
- vyacheslav
- subspecs
- xcscheme
- usleep
- xcbeautify
- github
- thii
- associatedtype
- rethrows
- recursively
- appex
- xcschemes
- xcuserdatad
- xcuserdata
- xcshareddata
- lhs
- stderror
- anyarray
- localized
- kareman
- autoreleasepool
- tput
- boolable
- nsrange
- xcodebuild
- sdk
- podfile
- xcodeproj
- yml
- swiftlint
- ykkd
- iphoneos
- ios
- iphonesimulator
- codable
- xcworkspace
- sysctl
- machdep
- dirs
- xcconfig
- xcargs
- wholemodule
- couldn
- xcframeworks
- alamofire
- doesn
- xcodegen
- swiftyfinch
- serialization
- isystem
- githubusercontent
- img
- khorkov
- proj
- deintegrate
- rhs
- colton
- schlosser
- parallelization
- iframework
- fd
- ecf
- bcfeef
- mlch
- utsname
- uname
- cocoapods
- leavez
- amazonaws
- realized
- fbadge
- ftype
- dswift
- swifty
- swiftish
- fpackages
- fapi
- fswiftpackageindex
- swiftpackageindex
- didn
- optimizations
- clt
- nexport
- zshrc
- zshenv
- th
- finalized
- fswiftyfinch
- dplatforms
- svg
- yandex
- faq
31 changes: 31 additions & 0 deletions .github/workflows/regress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Regress

on: [workflow_dispatch, pull_request]

jobs:
spelling:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: fjcaetano/[email protected]
with: { package: fromkk/SpellChecker }
- name: Check spelling
run: sh .github/scripts/checkSpell.sh

rugby:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: maxim-lobanov/setup-xcode@v1
with: { xcode-version: '14.1' }
- name: Build Rugby
run: |
swift build -c release
path=`swift build -c release --show-bin-path`
strip -rSTx "$path/rugby"
echo "rugby_path=$path/rugby" >> $GITHUB_ENV
swift run rugby --version
- uses: actions/upload-artifact@v3
with:
name: rugby
path: ${{ env.rugby_path }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
.DS_Store
.rugby
.build
.swiftpm
113 changes: 113 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"pins" : [
{
"identity" : "aexml",
"kind" : "remoteSourceControl",
"location" : "https://github.com/tadija/AEXML.git",
"state" : {
"revision" : "38f7d00b23ecd891e1ee656fa6aeebd6ba04ecc3",
"version" : "4.6.1"
}
},
{
"identity" : "colorizer",
"kind" : "remoteSourceControl",
"location" : "https://github.com/getGuaka/Colorizer.git",
"state" : {
"revision" : "2ccc99bf1715e73c4139e8d40b6e6b30be975586",
"version" : "0.2.1"
}
},
{
"identity" : "pathkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kylef/PathKit.git",
"state" : {
"revision" : "3bfd2737b700b9a36565a8c94f4ad2b050a5e574",
"version" : "1.0.1"
}
},
{
"identity" : "rainbow",
"kind" : "remoteSourceControl",
"location" : "https://github.com/onevcat/Rainbow",
"state" : {
"revision" : "e0dada9cd44e3fa7ec3b867e49a8ddbf543e3df3",
"version" : "4.0.1"
}
},
{
"identity" : "spectre",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kylef/Spectre.git",
"state" : {
"revision" : "26cc5e9ae0947092c7139ef7ba612e34646086c7",
"version" : "0.10.1"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a",
"version" : "1.2.2"
}
},
{
"identity" : "swiftshell",
"kind" : "remoteSourceControl",
"location" : "https://github.com/kareman/SwiftShell",
"state" : {
"revision" : "99680b2efc7c7dbcace1da0b3979d266f02e213c",
"version" : "5.1.0"
}
},
{
"identity" : "xcbeautify",
"kind" : "remoteSourceControl",
"location" : "https://github.com/tuist/xcbeautify",
"state" : {
"revision" : "e3bc4e04618efa7aaf8fac4727f7fe7ffd951e08",
"version" : "0.19.0"
}
},
{
"identity" : "xcodeproj",
"kind" : "remoteSourceControl",
"location" : "https://github.com/tuist/XcodeProj",
"state" : {
"revision" : "fae27b48bc14ff3fd9b02902e48c4665ce5a0793",
"version" : "8.9.0"
}
},
{
"identity" : "xmlcoder",
"kind" : "remoteSourceControl",
"location" : "https://github.com/MaxDesiatov/XMLCoder.git",
"state" : {
"revision" : "c438dad94f6a243b411b70a4b4bac54595064808",
"version" : "0.15.0"
}
},
{
"identity" : "yams",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/Yams.git",
"state" : {
"revision" : "f47ba4838c30dbd59998a4e4c87ab620ff959e8a",
"version" : "5.0.5"
}
},
{
"identity" : "zip",
"kind" : "remoteSourceControl",
"location" : "https://github.com/marmelroy/Zip.git",
"state" : {
"revision" : "67fa55813b9e7b3b9acee9c0ae501def28746d76",
"version" : "2.1.2"
}
}
],
"version" : 2
}
33 changes: 33 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// swift-tools-version:5.7

import PackageDescription

// It's a temporary package description only for support https://swiftpackageindex.com/swiftyfinch/Rugby
// I'm going to open source of Rugby this summer.
let package = Package(
name: "Rugby",
platforms: [.macOS(.v12)],
products: [
.executable(name: "rugby", targets: ["Rugby"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.2"),
.package(url: "https://github.com/onevcat/Rainbow", from: "4.0.1"),
.package(url: "https://github.com/tuist/XcodeProj", from: "8.9.0"),
.package(url: "https://github.com/kareman/SwiftShell", from: "5.1.0"),
.package(url: "https://github.com/tuist/xcbeautify", from: "0.17.0"),
.package(url: "https://github.com/jpsim/Yams.git", from: "5.0.5"),
.package(url: "https://github.com/marmelroy/Zip.git", from: "2.1.2")
],
targets: [
.executableTarget(name: "Rugby", dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"Rainbow",
"XcodeProj",
"SwiftShell",
.product(name: "XcbeautifyLib", package: "xcbeautify"),
"Yams",
"Zip"
])
]
)
Loading

0 comments on commit b50ebd5

Please sign in to comment.