Tim Burks vor 8 Jahren
Ursprung
Commit
66fea55249
4 geänderte Dateien mit 4 neuen und 47 gelöschten Zeilen
  1. 1 0
      .gitignore
  2. 2 2
      Plugin/Makefile
  3. 1 4
      Plugin/Package.swift
  4. 0 41
      Plugin/Sources/protoc-gen-swiftgrpc/templates.swift

+ 1 - 0
.gitignore

@@ -4,6 +4,7 @@ xcuserdata
 .build
 third_party/**
 Plugin/Packages/**
+Plugin/Sources/protoc-gen-swiftgrpc/templates.swift
 Plugin/protoc-*
 Plugin/swiftgrpc.log
 Plugin/echo.*.swift

+ 2 - 2
Plugin/Makefile

@@ -2,9 +2,9 @@
 default:	build
 
 build:  clear
-	swift build # This run is to build the template encoder
+	swift build --product TemplateEncoder
 	.build/debug/TemplateEncoder > Sources/protoc-gen-swiftgrpc/templates.swift
-	swift build # This run is to build the plugin
+	swift build --product protoc-gen-swiftgrpc
 	cp .build/debug/protoc-gen-swiftgrpc .
 	cp .build/debug/protoc-gen-swift .
 

+ 1 - 4
Plugin/Package.swift

@@ -18,10 +18,7 @@ import PackageDescription
 let package = Package(
   name: "SwiftGRPCPlugin",
   targets: [
-    Target(name: "protoc-gen-swiftgrpc",
-           dependencies: [
-            "TemplateEncoder"
-      ]),
+    Target(name: "protoc-gen-swiftgrpc"),
     Target(name: "TemplateEncoder")
   ],
   dependencies: [

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 41
Plugin/Sources/protoc-gen-swiftgrpc/templates.swift


Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.