-
Notifications
You must be signed in to change notification settings - Fork 245
Command Line Interface
Isty001 edited this page Jan 15, 2021
·
5 revisions
Clib's command line interface has multiple utilities to install, and build your dependencies.
You can create a basic clib.json
with it.
Options:
Installs a package.
Usages:
-
clib install clibs/[email protected]
- Installs the 0.3.0 version ofclibs/http-get.c
-
clib install
will look for aclib.json
in the current directory, and install the dependencies defined there.
Almost same as clib install
, but the caching is disable to force updating each package.
Upgrades clib
to the latest released tag by default, or to the one provided by --tag
.
It executes the configure script in a clib.json
as seen here: https://github.com/jwerle/libmerkle/blob/master/clib.json#L7
This will execute make
for a package with -C set to the Makefile specified in a clib.json
as seen here: https://github.com/jwerle/libmerkle/blob/master/clib.json#L8
Packages added to the registry can be search by this command.