Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bii not finding dependencies in project when not initialized with "-L"

Tags:

biicode

I'm taking my first steps with bii. I can complete the get started tutorial with no problems. However, when I manually create a new project on github, pull it, add a main file with gtest and gmock includes, run the commend bii init within the project folder, then type bii find, I just get the following . .

INFO: Processing changes...

INFO: No deps to find on server

I worked out that if I initialize the repository with bii init -L then everything works. However, bii init --help says . .

usage: bii init [-h] [-L [LAYOUT]] [name]

creates a new biicode project

positional arguments: name Optional name of the folder. If specified, bii will create a new folder and initialize a project inside, otherwise, it will try to initialize in the current folder

optional arguments: -h, --help show this help message and exit -L [LAYOUT], -l [LAYOUT], --layout [LAYOUT] Optional layout. If no param is specified, it will use the "minimal" one. Other available: CLion

Which suggests the L parameter is ignored if I do not specify a layout.

My question is what does the L parameter do with no layout specified, compared to just typing bii init with no extra params?

NOTES:

  • OSX 10.10.2

  • bii 2.7

like image 533
learnvst Avatar asked Nov 28 '25 01:11

learnvst


1 Answers

bii init command without parameters enables working with multiple blocks at the same time within the same project.

It inits by default a classic layout. Its behaviour is explained in biicode's docs here.

To use it:

bii init to init your project and then bii new username/blockname to create the folder structure needed to use multiple blocks at the same time.

Then your code should be placed under project/blocks/username/blockname directory.

Using bii init enables working with multiple blocks like this:

cd your_project_name
bii open examples/tinythread
bii open examples/box2d
bii build
cd bin
./run_any_exectuable_here

You can also check the docs section about layouts.

like image 124
amalulla Avatar answered Dec 01 '25 04:12

amalulla