Skip to content

Commit e2c0c62

Browse files
committed
chore: move FlexLayout.h to public header directory
1 parent c5a9e97 commit e2c0c62

File tree

3 files changed

+15
-22
lines changed

3 files changed

+15
-22
lines changed

FlexLayout.xcodeproj/project.pbxproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@
153153
24AE972D1FEAF30A00995987 /* Sources */ = {
154154
isa = PBXGroup;
155155
children = (
156-
24AE97341FEAF30A00995987 /* SupportingFiles */,
157156
B9EAD87E238884C90058E0CB /* Swift */,
158157
715C61302ABEDE1900D5A2E0 /* yoga */,
159158
715C61792ABEE4B600D5A2E0 /* YogaKit */,
@@ -171,14 +170,6 @@
171170
path = Impl;
172171
sourceTree = "<group>";
173172
};
174-
24AE97341FEAF30A00995987 /* SupportingFiles */ = {
175-
isa = PBXGroup;
176-
children = (
177-
24AE97351FEAF30A00995987 /* FlexLayout.h */,
178-
);
179-
path = SupportingFiles;
180-
sourceTree = "<group>";
181-
};
182173
24DA37501EF843C500D1AB2F = {
183174
isa = PBXGroup;
184175
children = (
@@ -307,6 +298,14 @@
307298
path = YogaKit;
308299
sourceTree = "<group>";
309300
};
301+
71CE1DE72B79E81500FD1037 /* Public */ = {
302+
isa = PBXGroup;
303+
children = (
304+
24AE97351FEAF30A00995987 /* FlexLayout.h */,
305+
);
306+
path = Public;
307+
sourceTree = "<group>";
308+
};
310309
B5403C6F81C3814B69C05D0B /* Frameworks */ = {
311310
isa = PBXGroup;
312311
children = (
@@ -320,6 +319,7 @@
320319
B9EAD87E238884C90058E0CB /* Swift */ = {
321320
isa = PBXGroup;
322321
children = (
322+
71CE1DE72B79E81500FD1037 /* Public */,
323323
24AE972E1FEAF30A00995987 /* FlexLayout.swift */,
324324
24AE972F1FEAF30A00995987 /* Impl */,
325325
24AE97331FEAF30A00995987 /* Percent.swift */,

Package.swift

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,27 @@ let package = Package(
1212
.target(
1313
name: "FlexLayout",
1414
dependencies: ["FlexLayoutYoga", "FlexLayoutYogaKit"],
15-
path: "Sources/Swift"
15+
path: "Sources/Swift",
16+
publicHeadersPath: "Public"
1617
),
1718
.target(
1819
name: "FlexLayoutYoga",
1920
dependencies: [],
2021
path: "Sources/yoga",
21-
publicHeadersPath: "include/yoga/",
22-
cxxSettings: [
23-
.headerSearchPath("include/yoga/"),
24-
.headerSearchPath("."),
25-
]
22+
publicHeadersPath: "include/yoga"
2623
),
2724
.target(
2825
name: "FlexLayoutYogaKit",
2926
dependencies: ["FlexLayoutYoga"],
3027
path: "Sources/YogaKit",
31-
publicHeadersPath: "include/YogaKit/",
32-
cxxSettings: [
33-
.headerSearchPath("include/YogaKit/"),
34-
.headerSearchPath("."),
35-
]
28+
publicHeadersPath: "include/YogaKit"
3629
),
3730
.testTarget(
3831
name: "FlexLayoutTests",
3932
dependencies: [
40-
"FlexLayout"
33+
"FlexLayout",
4134
]
42-
)
35+
),
4336
],
4437
cLanguageStandard: .gnu99,
4538
cxxLanguageStandard: .gnucxx11

0 commit comments

Comments
 (0)