Commit 4dd83884 authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Update documented sample plugin build command.

parent fe4f8f0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -337,6 +337,6 @@ func BenchmarkNext(b *testing.B) {
		next = expr.Next(next)
		next = expr.Next(next)
		next = expr.Next(next)
		next = expr.Next(next)
		_ = expr.Next(next)
	}
}
+1 −1
Original line number Diff line number Diff line
version: '3'
services:
  cockroachdb:
    image: cockroachdb/cockroach:v19.1.2
    image: cockroachdb/cockroach:v19.1.4
    command: start --insecure --store=attrs=ssd,path=/var/lib/cockroach/
    restart: "no"
    volumes:
+1 −1
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ For Windows development and environments where you want to use our official Dock

   ```
   cd $GOPATH/src/plugin_project # Your project folder. See instructions above.
   docker run --rm -v "$PWD:/go/src/tempbuild" heroiclabs/nakama-pluginbuilder:2.7.0 build --buildmode=plugin -trimpath -o ./modules/plugin_project.so
   docker run --rm -v "$PWD:/tempbuild" -w "/tempbuild" heroiclabs/nakama-pluginbuilder:2.7.0 build --buildmode=plugin -trimpath -o ./modules/plugin_project.so
   ```
   
   In the command above we bind-mount your current folder into the container and use the Go toolchain inside it to run the build. The output artifacts are written back into your host filesystem.