Age | Commit message (Collapse) | Author |
|
|
|
|
|
Change program argument handling.
Add new program argument "new" to create a new sibs project which creates
a project with all necessary files and also uses git init
(ignores failure, for example if git is not installed).
Change build path from "build" to "sibs-build" to prevent name clashing
since "build" is a common name for directories.
|
|
Directories such as:
~/.sibs
~/.sibs/archive
~/.sibs/lib
And directories for each specific library.
Also fix bug in getFileContent and fileOverwrite if file already exists
|
|
Using libcurl and libarchive
|
|
I noticed that WEXITSTATUS was failing when compiling
sibs on ubuntu.
WEXITSTATUS uses address of input which fails if the input
is directly passed by return of a function call.
Also added error checking if the process was stopped/killed
by receiving a signal or if it failed in any other way.
|
|
Option "-p" can be passed to specify another project path
|
|
|
|
Global lib dir is located at ~/.sibs/lib
TODO: If global lib dir doesn't exist, download it from github/server
|
|
|
|
This currently only works using pkg-config and it only adds
linking flags. Need to check with a library that also includes
other types of flags.
TODO: Fallback to dependencies sub directory and github/server
if package not found in pkg-config.
|
|
|
|
|
|
Next up: parse project.conf file
|