hannobraun / vndf-2020

Von Neumann Defense Force - a game about spaceships
2 stars 0 forks source link

Don't require vndf-server to be compiled when compiling client binaries #10

Closed hannobraun closed 4 years ago

hannobraun commented 4 years ago

vndf-client depends on vndf-server to provide a local server for testing. This means that every time I build client binaries for testing (from vndf-launcher), I also need to build vndf-server, which significantly adds to the build time. This is also completely useless, as the local debug server functionality is not exposed by vndf-launcher.

The most straight-forward solution would be to move the vndf-client binary into a dedicated package, while leaving the library part (which doesn't depend on vndf-server) in the vndf-client package. But maybe this is also an opportunity to clean up the overall package structure.