cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

Add a standard build system to Cosmos

Open jonnrb opened this issue 9 years ago • 1 comments

With most of the code in this repository being written in compiled languages (Java, C++, C, and Go make up over 75% of the codebase) we should have a standard build system.

  1. A standard build system lets us run CI on the codebase to make sure all PRs actually build before they are merged.
  2. If we have a build system, we can build more complex data structures and algorithms on top of simpler ones that have already been implemented in Cosmos.
  3. Most modern build systems let code be directly imported from github. This encourages people to use those features instead of exporting the raw files from this repo and not contributing their changes back.

I personally like https://bazel.build/ because it allows for reasonably self-contained units and supports most of the languages that people are using to write code for Cosmos. How do other people feel about this?

jonnrb avatar Oct 16 '17 17:10 jonnrb

This would also allow the creation of a coding standard, since CI's allow that. I personally agree, but it is really up to AdiChat.

arnavb avatar Oct 16 '17 18:10 arnavb