Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

complete overhaul #15

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions Dockerfile

This file was deleted.

16 changes: 16 additions & 0 deletions Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundleShortVersionString</key>
<string>0.5.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2020 g-Off.net. All rights reserved.</string>
</dict>
</plist>
35 changes: 22 additions & 13 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,30 @@
"object": {
"pins": [
{
"package": "CommandRegistry",
"repositoryURL": "https://github.com/g-Off/CommandRegistry.git",
"package": "Files",
"repositoryURL": "https://github.com/JohnSundell/Files.git",
"state": {
"branch": "master",
"revision": "142aa27445e7998c5201b5ec9682698195d6701a",
"version": null
"branch": null,
"revision": "22fe84797d499ffca911ccd896b34efaf06a50b9",
"version": "4.1.1"
}
},
{
"package": "PrintfParser",
"repositoryURL": "https://github.com/g-Off/PrintfParser.git",
"state": {
"branch": null,
"revision": "60fe5b61f6ba9cdef3955d61e7d0c4c703bcbedf",
"version": "0.1.0"
}
},
{
"package": "SwiftPM",
"repositoryURL": "https://github.com/apple/swift-package-manager.git",
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser",
"state": {
"branch": null,
"revision": "235aacc514cb81a6881364b0fedcb3dd083228f3",
"version": "0.3.0"
"revision": "9f04d1ff1afbccd02279338a2c91e5f27c45e93a",
"version": "0.0.5"
}
},
{
Expand All @@ -29,12 +38,12 @@
}
},
{
"package": "XcodeProject",
"repositoryURL": "https://github.com/g-Off/XcodeProject.git",
"package": "Version",
"repositoryURL": "https://github.com/mxcl/Version.git",
"state": {
"branch": null,
"revision": "f5095a860de4cd1f0e635957bed7c4b80392dac8",
"version": "0.5.0"
"revision": "200046c93f6d5d78a6d72bfd9c0b27a95e9c0a2b",
"version": "1.2.0"
}
},
{
Expand Down
51 changes: 39 additions & 12 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// swift-tools-version:5.0
// swift-tools-version:5.1
import PackageDescription

let package = Package(
name: "stringray",
platforms: [
.macOS(.v10_14)
.macOS("10.15")
],
products: [
.executable(
Expand All @@ -14,34 +14,61 @@ let package = Package(
.library(
name: "RayGun",
targets: ["RayGun"]
),
.library(
name: "SillyString",
targets: ["SillyString"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.0.4"),
.package(url: "https://github.com/jpsim/Yams.git", from: "1.0.1"),
.package(url: "https://github.com/scottrhoyt/SwiftyTextTable.git", from: "0.5.0"),
.package(url: "https://github.com/g-Off/XcodeProject.git", from: "0.5.0-alpha.3"),
.package(url: "https://github.com/g-Off/CommandRegistry.git", from: "0.1.0"),
.package(url: "https://github.com/apple/swift-package-manager.git", from: "0.3.0")
.package(url: "https://github.com/JohnSundell/Files.git", from: "4.0.0"),
.package(url: "https://github.com/mxcl/Version.git", from: "1.0.0"),
.package(url: "https://github.com/g-Off/PrintfParser.git", from: "0.1.0")
],
targets: [
.target(
name: "stringray",
dependencies: [
"CommandRegistry",
"RayGun",
"ArgumentParser",
"SillyString",
"SwiftyTextTable",
"XcodeProject",
"Utility",
"Yams",
"Version"
],
linkerSettings: [
.unsafeFlags(["-Xlinker", "-sectcreate"], .when(platforms: [.macOS])),
.unsafeFlags(["-Xlinker", "__TEXT"], .when(platforms: [.macOS])),
.unsafeFlags(["-Xlinker", "__info_plist"], .when(platforms: [.macOS])),
.unsafeFlags(["-Xlinker", "Info.plist"], .when(platforms: [.macOS]))
]
),
.target(
name: "RayGun",
dependencies: [
"Files"
]
),
.target(
name: "SillyString",
dependencies: [
"RayGun",
"PrintfParser"
]
),
.testTarget(
name: "stringrayTests",
dependencies: ["RayGun"]),
]
name: "RayGunTests",
dependencies: ["RayGun"]
),
.testTarget(
name: "SillyStringTests",
dependencies: ["SillyString"]
),
// .testTarget(
// name: "stringrayTests",
// dependencies: ["RayGun", "SillyString"]
// ),
]
)
82 changes: 0 additions & 82 deletions Sources/RayGun/Extensions/URL+Extensions.swift

This file was deleted.

25 changes: 0 additions & 25 deletions Sources/RayGun/Lint Rules/MissingCommentLintRule.swift

This file was deleted.

52 changes: 0 additions & 52 deletions Sources/RayGun/Lint Rules/MissingLocalizationLintRule.swift

This file was deleted.

34 changes: 0 additions & 34 deletions Sources/RayGun/Lint Rules/MissingPlaceholderLintRule.swift

This file was deleted.

31 changes: 0 additions & 31 deletions Sources/RayGun/Lint Rules/OrphanedLocalizationLintRule.swift

This file was deleted.

Loading