Let’s say you depend on:
erincatto/box2d:10
that depends on diego/glfw:0
.And you’d rather depend on:
erincatto/box2d:10
and diego/glfw:1
.Write your preferred versions in your biicode.conf and biicode will use those versions in your project:
biicode.conf
[requirements]
# required blocks (with version)
erincatto/box2d: 10
diego/glfw:1
Execute bii build and it’s updated.
Create a block track when you need a personalized fix over the original library.
Let’s create a block track from diego/glfw block:
~$ bii init myproject
~$ cd myproject
~/myproject$ bii open diego/glfw
[parent]
section of the biicode.conf file. Specify version -1
because we want create a new block.biicode.conf
[parent]
diego/glfw(myuser/glfw): -1
Depend on that new block track:
Write in your biicode.conf file [requirements]
:
biicode.conf
[requirements] # required blocks (with version) diego/glfw(myuser/glfw): 1
Execute bii build and it’s updated.
What if you want to get back again to the original library?
Write in your biicode.conf file [requirements]
:
[requirements]
# required blocks (with version)
diego/glfw: 0