Skip to content

Commit

Permalink
Moved module to new separate Swift Package dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
YourMJK committed Feb 20, 2023
1 parent 65314cc commit b5fa168
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 219 deletions.
9 changes: 9 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"object": {
"pins": [
{
"package": "IntGeometry",
"repositoryURL": "https://github.com/YourMJK/IntGeometry",
"state": {
"branch": "main",
"revision": "0686c14ae7d1f7d05526d105f3a308f0ecd33fb5",
"version": null
}
},
{
"package": "QRCodeGenerator",
"repositoryURL": "https://github.com/YourMJK/QRCodeGenerator",
Expand Down
2 changes: 2 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/YourMJK/QRCodeGenerator", branch: "master"),
.package(url: "https://github.com/YourMJK/IntGeometry", branch: "main"),
],
targets: [
.target(
name: "QRGen",
dependencies: [
"QRCodeGenerator",
"IntGeometry",
],
path: "QRGen"
),
Expand Down
1 change: 1 addition & 0 deletions QRGen/GridSVG/GridSVG.Element.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import Foundation
import IntGeometry


extension GridSVG {
Expand Down
1 change: 1 addition & 0 deletions QRGen/GridSVG/GridSVG.ElementCluster.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import Foundation
import IntGeometry


extension GridSVG {
Expand Down
1 change: 1 addition & 0 deletions QRGen/GridSVG/GridSVG.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import Foundation
import IntGeometry


class GridSVG {
Expand Down
28 changes: 0 additions & 28 deletions QRGen/IntGeometry/IntPoint.swift

This file was deleted.

157 changes: 0 additions & 157 deletions QRGen/IntGeometry/IntRect.swift

This file was deleted.

34 changes: 0 additions & 34 deletions QRGen/IntGeometry/IntSize.swift

This file was deleted.

1 change: 1 addition & 0 deletions QRGen/QRCode/QRCodeProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import Foundation
import IntGeometry
#if canImport(AppKit)
import CoreGraphics
#endif
Expand Down
1 change: 1 addition & 0 deletions QRGen/QRGen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import Foundation
import IntGeometry
#if canImport(AppKit)
import CoreImage
#endif
Expand Down

0 comments on commit b5fa168

Please sign in to comment.