gb automatically detects your project’s root directory based on your current working directory.
A gb project is defined as any directory that contains a src/ subdirectory. gb automatically detects the root of the project by looking at the current working directory and walking backwards until it finds a directory that contains a src/ subdirectory.
I'm working on a project written in in golang and c++, they are run as independent process, communicating over unix socket. Currently they are put in saparate directories, like $PROJECT/goserver$PROJECT/cppserver. It would be wierd to rename $PROJECT/goserver to $PROJECT/src if I need to use gb. Is there any way to customize the name of src directory?
Hi, nice project here
I just read the usage documentation on how the project root is detected
I'm working on a project written in in golang and c++, they are run as independent process, communicating over unix socket. Currently they are put in saparate directories, like
$PROJECT/goserver
$PROJECT/cppserver
. It would be wierd to rename$PROJECT/goserver
to$PROJECT/src
if I need to usegb
. Is there any way to customize the name ofsrc
directory?