Skip to content

Commit c1947aa

Browse files
committed
move back to vpnlib
1 parent 5ed3893 commit c1947aa

File tree

7 files changed

+7
-30
lines changed

7 files changed

+7
-30
lines changed

Coder Desktop/Coder Desktop/Coder_DesktopApp.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import FluidMenuBarExtra
22
import NetworkExtension
33
import SwiftUI
4-
import FSLib
4+
import VPNLib
55

66
@main
77
struct DesktopApp: App {

Coder Desktop/FSLib/daemon.grpc.swift renamed to Coder Desktop/VPNLib/FileSync/daemon.grpc.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// swift-format-ignore-file
44
//
55
// Generated by the protocol buffer compiler.
6-
// Source: Coder Desktop/FSLib/daemon.proto
6+
// Source: Coder Desktop/VPNLib/FileSync/daemon.proto
77
//
88
import GRPC
99
import NIO

Coder Desktop/FSLib/daemon.pb.swift renamed to Coder Desktop/VPNLib/FileSync/daemon.pb.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// swiftlint:disable all
44
//
55
// Generated by the Swift generator plugin for the protocol buffer compiler.
6-
// Source: Coder Desktop/FSLib/daemon.proto
6+
// Source: Coder Desktop/VPNLib/FileSync/daemon.proto
77
//
88
// For information on using the generated types, please see the documentation:
99
// https://github.com/apple/swift-protobuf/

Coder Desktop/project.yml

+1-24
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ options:
55
macOS: "14.0"
66
xcodeVersion: "1600"
77
minimumXcodeGenVersion: "2.42.0"
8-
# Excldue `.proto` files from all build phases
98
fileTypes:
109
proto:
1110
buildPhase: none
@@ -160,8 +159,6 @@ targets:
160159
embed: true
161160
- target: VPNLib
162161
embed: true
163-
- target: FSLib
164-
embed: true
165162
- target: VPN
166163
embed: without-signing # Embed without signing.
167164
- package: FluidMenuBarExtra
@@ -265,6 +262,7 @@ targets:
265262
- package: SwiftProtobuf
266263
- package: SwiftProtobuf
267264
product: SwiftProtobufPluginLibrary
265+
- package: GRPC
268266
- target: CoderSDK
269267
embed: false
270268

@@ -283,27 +281,6 @@ targets:
283281
embed: false
284282
- package: Mocker
285283

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-
307284
CoderSDK:
308285
type: framework
309286
platform: macOS

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ $(XCPROJECT): $(PROJECT)/project.yml
4848
$(PROJECT)/VPNLib/vpn.pb.swift: $(PROJECT)/VPNLib/vpn.proto
4949
protoc --swift_opt=Visibility=public --swift_out=. 'Coder Desktop/VPNLib/vpn.proto'
5050

51-
$(PROJECT)/FSLib/daemon.pb.swift: $(PROJECT)/FSLib/daemon.proto
51+
$(PROJECT)/VPNLib/FileSync/daemon.pb.swift: $(PROJECT)/VPNLib/FileSync/daemon.proto
5252
protoc \
5353
--swift_out=.\
5454
--grpc-swift_out=. \
55-
'Coder Desktop/FSLib/daemon.proto'
55+
'Coder Desktop/VPNLib/FileSync/daemon.proto'
5656

5757
$(KEYCHAIN_FILE):
5858
security create-keychain -p "" "$(APP_SIGNING_KEYCHAIN)"
@@ -136,7 +136,7 @@ clean/build:
136136
rm -rf build/ release/ $$out
137137

138138
.PHONY: proto
139-
proto: $(PROJECT)/VPNLib/vpn.pb.swift $(PROJECT)/FSLib/daemon.pb.swift ## Generate Swift files from protobufs
139+
proto: $(PROJECT)/VPNLib/vpn.pb.swift $(PROJECT)/VPNLib/FileSync/daemon.pb.swift ## Generate Swift files from protobufs
140140

141141
.PHONY: help
142142
help: ## Show this help

0 commit comments

Comments
 (0)