Browse Source

Update Samples to point to main (grpc-hosted) repository.

Tim Burks 9 years ago
parent
commit
31ef5cbf29

+ 1 - 1
Samples/EchoClient/Package.swift

@@ -34,6 +34,6 @@ import PackageDescription
 let package = Package (
     name: "EchoClient",
     dependencies: [
-        .Package(url: "https://github.com/timburks/grpc-swift.git", Version(0,1,0)),
+        .Package(url: "https://github.com/grpc/grpc-swift.git", Version(0,1,0)),
     ]
 )

+ 1 - 1
Samples/EchoServer/Package.swift

@@ -34,6 +34,6 @@ import PackageDescription
 let package = Package (
     name: "EchoServer",
     dependencies: [
-        .Package(url: "https://github.com/timburks/grpc-swift.git", Version(0,1,0)),
+        .Package(url: "https://github.com/grpc/grpc-swift.git", Version(0,1,0)),
     ]
 )

+ 6 - 5
Samples/README.md

@@ -1,7 +1,7 @@
-# Swift gRPC Packages
+# Swift gRPC Samples
 
-This directory contains the Swift gRPC API and related components
-in the form of buildable Swift packages.
+This directory contains Swift gRPC samples in the form of 
+buildable Swift packages.
 
 Follow these steps to build and run them on Linux.
 
@@ -55,8 +55,9 @@ Start a docker instance with the following command:
 ## Fetch and build grpc
     git clone https://github.com/grpc/grpc-swift
     cd grpc-swift
-    git submodule update --init
-    cd third_party/grpc
+    cd third_party
+    sh RUNME.sh
+    cd grpc
     git submodule update --init
     make
     make install

+ 1 - 1
Samples/SimpleClient/Package.swift

@@ -34,6 +34,6 @@ import PackageDescription
 let package = Package (
     name: "SimpleClient",
     dependencies: [
-        .Package(url: "https://github.com/timburks/grpc-swift.git", Version(0,1,0)),
+        .Package(url: "https://github.com/grpc/grpc-swift.git", Version(0,1,0)),
     ]
 )

+ 1 - 1
Samples/SimpleServer/Package.swift

@@ -34,6 +34,6 @@ import PackageDescription
 let package = Package (
     name: "SimpleServer",
     dependencies: [
-        .Package(url: "https://github.com/timburks/grpc-swift.git", Version(0,1,0)),
+        .Package(url: "https://github.com/grpc/grpc-swift.git", Version(0,1,0)),
     ]
 )