Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What to put in gitignore when using bii with Travis

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?

like image 834
learnvst Avatar asked Dec 25 '22 21:12

learnvst


1 Answers

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.

like image 87
drodri Avatar answered Jan 12 '23 01:01

drodri