Not a good idea. Because you can’t import parts of a list section, only insert or replace it in full – and such a command is likely to be only a part of an install
/script
section’s logic.
- An alternative to that command is asking to add your project as a submodule. E.g. GitHub - matthew-brett/multibuild: Machinery for building and testing Python Wheels for Linux, OSX and (less flexibly) Windows. does that.
- Another alternative is to make releases (tags) or a “rolling release” in the form of a “stable branch”. Or ensure that your
master
is stable enough (i.e. add some kind of scrutiny to commits that go there).- Multibuild’s experience shows though that “check out the newest commit from
devel
that works for you, then stay at it until you need newer features” is usually good enough. It might not be good enough for you if e.g. download URLs change too quickly and one cannot continue using old ones.
- Multibuild’s experience shows though that “check out the newest commit from