What to put in gitignore when using bii with Travis

212 Views Asked by At

I'm experimenting with setting up CI with Travis and bii. There is documentation available on the biicode website including an example ignore.bii file, which relates to publishing blocks.

Can anyone provide an example of what bii specific files and folders I should be ignoring in my .gitignore in a continuous integration setup?

2

There are 2 best solutions below

0
On BEST ANSWER

It depends on the biicode project layout defined at init. If you use the "simple" layout ($ bii init -L), then you should gitignore:

bii/
bin/

bii contains cmake, build, deps subfolders, all of them can be ignored bin contains the output binaries, typically ignored too

If using the normal layout, actually the repo should be in project/blocks/username/blockname and the biicode auxiliary files would be in a parent folder, nothing to ignore.

0
On

Here's an example, Eric Niebler's Meta library:

# BiiCode
bii/