Skip to content

muchq/MoonBase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoonBase

CircleCI Build status

MoonBase

CircleCI

IntelliJ

Tested with Bazel for IntelliJ

Java, Scala and Go targets Just Work™.

Add new targets to project view if they aren't detected automatically.

C++ is not supported in Bazel for IntelliJ. Use Clion or VSCode.

Clion

C++ projects work with Bazel for IntelliJ, but autocomplete/intellisense doesn't feel very snappy.

Although it's slow, the clang-lint integration is very helpful.

GoLand

Go projects work with Bazel for IntelliJ. Alternatively, you can use IntelliJ for Go too.

VSCode

For C++ use hedronvision/bazel-compile-commands-extractor

Follow instructions here

and then do

bazel run @hedron_compile_commands//:refresh_all
code .

JVM Dependencies

Use rules_jvm_external and update deps in WORKSPACE

At some point, switch back to bazel-deps once it supports scala3

Importing New Repositories

  • clone the new repo foo
  • in foo, mkdir import-foo-dir and git mv everything into that directory to avoid conflicts
  • in MoonBase do:
    • gco -b import-foo-project
    • git remote add foo ${path-to-foo}
    • git fetch foo
    • git merge foo/main --allow-unrelated-histories
    • put stuff where you want it and bazel-ify