File tree 7 files changed +33
-7
lines changed
7 files changed +33
-7
lines changed Original file line number Diff line number Diff line change 1
1
import FluidMenuBarExtra
2
2
import NetworkExtension
3
3
import SwiftUI
4
- import VPNLib
4
+ import FSLib
5
5
6
6
@main
7
7
struct DesktopApp : App {
File renamed without changes.
Original file line number Diff line number Diff line change 3
3
// swift-format-ignore-file
4
4
//
5
5
// Generated by the protocol buffer compiler.
6
- // Source: Coder Desktop/VPNLib/FileSync /daemon.proto
6
+ // Source: Coder Desktop/FSLib /daemon.proto
7
7
//
8
8
import GRPC
9
9
import NIO
Original file line number Diff line number Diff line change 3
3
// swiftlint:disable all
4
4
//
5
5
// Generated by the Swift generator plugin for the protocol buffer compiler.
6
- // Source: Coder Desktop/VPNLib/FileSync /daemon.proto
6
+ // Source: Coder Desktop/FSLib /daemon.proto
7
7
//
8
8
// For information on using the generated types, please see the documentation:
9
9
// https://github.com/apple/swift-protobuf/
File renamed without changes.
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ options:
5
5
macOS : " 14.0"
6
6
xcodeVersion : " 1600"
7
7
minimumXcodeGenVersion : " 2.42.0"
8
+ # Excldue `.proto` files from all build phases
9
+ fileTypes :
10
+ proto :
11
+ buildPhase : none
8
12
9
13
settings :
10
14
base :
@@ -156,6 +160,8 @@ targets:
156
160
embed : true
157
161
- target : VPNLib
158
162
embed : true
163
+ - target : FSLib
164
+ embed : true
159
165
- target : VPN
160
166
embed : without-signing # Embed without signing.
161
167
- package : FluidMenuBarExtra
@@ -259,7 +265,6 @@ targets:
259
265
- package : SwiftProtobuf
260
266
- package : SwiftProtobuf
261
267
product : SwiftProtobufPluginLibrary
262
- - package : GRPC
263
268
- target : CoderSDK
264
269
embed : false
265
270
@@ -278,6 +283,27 @@ targets:
278
283
embed : false
279
284
- package : Mocker
280
285
286
+
287
+ FSLib :
288
+ type : framework
289
+ platform : macOS
290
+ sources :
291
+ - path : FSLib
292
+ settings :
293
+ base :
294
+ INFOPLIST_KEY_NSHumanReadableCopyright : " "
295
+ PRODUCT_NAME : " $(TARGET_NAME:c99extidentifier)"
296
+ SWIFT_EMIT_LOC_STRINGS : YES
297
+ GENERATE_INFOPLIST_FILE : YES
298
+ DYLIB_COMPATIBILITY_VERSION : 1
299
+ DYLIB_CURRENT_VERSION : 1
300
+ DYLIB_INSTALL_NAME_BASE : " @rpath"
301
+ dependencies :
302
+ - package : SwiftProtobuf
303
+ - package : SwiftProtobuf
304
+ product : SwiftProtobufPluginLibrary
305
+ - package : GRPC
306
+
281
307
CoderSDK :
282
308
type : framework
283
309
platform : macOS
Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ $(XCPROJECT): $(PROJECT)/project.yml
48
48
$(PROJECT ) /VPNLib/vpn.pb.swift : $(PROJECT ) /VPNLib/vpn.proto
49
49
protoc --swift_opt=Visibility=public --swift_out=. ' Coder Desktop/VPNLib/vpn.proto'
50
50
51
- $(PROJECT ) /VPNLib/FileSync/ daemon.pb.swift : $(PROJECT ) /VPNLib/FileSync /daemon.proto
51
+ $(PROJECT ) /FSLib/ daemon.pb.swift : $(PROJECT ) /FSLib /daemon.proto
52
52
protoc \
53
53
--swift_out=.\
54
54
--grpc-swift_out=. \
55
- ' Coder Desktop/VPNLib/FileSync /daemon.proto'
55
+ ' Coder Desktop/FSLib /daemon.proto'
56
56
57
57
$(KEYCHAIN_FILE ) :
58
58
security create-keychain -p " " " $( APP_SIGNING_KEYCHAIN) "
@@ -136,7 +136,7 @@ clean/build:
136
136
rm -rf build/ release/ $$ out
137
137
138
138
.PHONY : proto
139
- proto : $(PROJECT ) /VPNLib/vpn.pb.swift $(PROJECT ) /VPNLib/FileSync /daemon.pb.swift # # Generate Swift files from protobufs
139
+ proto : $(PROJECT ) /VPNLib/vpn.pb.swift $(PROJECT ) /FSLib /daemon.pb.swift # # Generate Swift files from protobufs
140
140
141
141
.PHONY : help
142
142
help : # # Show this help
You can’t perform that action at this time.
0 commit comments