builder

package builder
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/builder

commit 01822a5cc4578424538d8e68ad7c4831edecaf1d
parent 5c44520f14b27a0f146ae0167656eac83a3b4fa3
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Sun, 22 Jan 2017 17:30:09 +0100

Fix(README): And some things:

Makefile now compiling libraries
Add a travis file
Fix a wrong test
Remove builder binary from git

Diffstat:
A.travis.yml | 12++++++++++++
MMakefile | 3++-
MREADME.md | 22++++------------------
Dbuilder | 0
Mtests/main.c | 2+-
5 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/.travis.yml b/.travis.yml @@ -0,0 +1,12 @@ +language: c +compiler: gcc + +before_install: + - sudo apt-get -qq update + - sudo apt-get install -y valgrind lcov + +script: + - make + - make -C tests + - make -C tests check + - make -C tests valgrind diff --git a/Makefile b/Makefile @@ -29,7 +29,8 @@ MAINTAINER = Jules HEZARD <hezardj@gmail.com> all: $(NAME) -$(NAME): $(OBJS) +$(NAME): $(OBJS) lib + make -C lib/ $(CC) $(CFLAGS) $(OBJS) -o $(NAME) $(LIB) $(LFLAGS) check: diff --git a/README.md b/README.md @@ -4,14 +4,10 @@ <p align="center"> <img src="https://img.shields.io/badge/language-c-blue.svg" /> &nbsp; <img src="https://img.shields.io/badge/license-Apache--2.0-yellow.svg" /> &nbsp; -<a href="https://travis-ci.org/Morphux/lib"><img src="https://travis-ci.org/Morphux/lib.svg?branch=master"/></a> &nbsp; -<a href="https://scan.coverity.com/projects/lib"> - <img alt="Coverity Scan Build Status" - src="https://scan.coverity.com/projects/11517/badge.svg"/> -</a> +<a href="https://travis-ci.org/Morphux/lib"><img src="https://travis-ci.org/Morphux/Builder.svg?branch=master"/></a> <br /> -<h1 align="center" style="border:none">Morphux/lib</h1> -<h6 align="center">Morphux C Development Library</h6> +<h1 align="center" style="border:none">Morphux/Builder</h1> +<h6 align="center">Morphux Package Builder</h6> </p> <p align="center"> <a href="#install">Install</a> • <a href="#test">Test</a> • <a href="#use">Use</a> • <a href="#documentation">Documentation</a> @@ -20,7 +16,7 @@ # Install ### Clone the repository ``` -git clone https://github.com/Morphux/lib.git +git clone https://github.com/Morphux/Builder.git ``` ### Compile @@ -43,16 +39,6 @@ make -C tests valgrind ``` # Use -Compile with the following options -``` -gcc [...] -Llib/ -lmorphux -Ilib/inc -``` -Of course, ```lib``` directory must exist. - -In code: -```C -#include <morphux.h> -``` # Documentation ### Dependencies diff --git a/builder b/builder Binary files differ. diff --git a/tests/main.c b/tests/main.c @@ -1,7 +1,7 @@ #include <morphux.h> TEST(main) { - int i = 0; + int i = 1; TEST_ASSERT(i == 1, "Nope"); return TEST_SUCCESS;