-
Notifications
You must be signed in to change notification settings - Fork 245
Command Line Interface
Isty001 edited this page Jan 26, 2021
·
5 revisions
Clib's command line interface has multiple utilities to install, and build your dependencies. For further options see -h
of the given command.
You can create a basic clib.json
with it.
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.
Can be used to uninstall executables. Executes the uninstall script defined in clib.json
as seen here or defaults to make uninstall
.
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.
This will execute make
for a package with -C set to the Makefile specified in a clib.json
as seen here.
Packages added to the registry can be searched by this command.