commit a2458029ea0de985b065bc1e322f9eb2f3d7475f
parent 42bee970981b24e923587e2b151cf28d4f5eefaf
Author: Remy Noulin <loader2x@gmail.com>
Date: Tue, 30 Apr 2019 19:40:47 +0200
add isCompiledWithCurrentLisheepyVersion
Diffstat:
3 files changed, 16 insertions(+), 22 deletions(-)
diff --git a/ervy.c b/ervy.c
@@ -0,0 +1,5 @@
+
+bool checkLibsheepyVersionErvy(const char *currentLibsheepyVersion) {
+ return eqG(currentLibsheepyVersion, LIBSHEEPY_VERSION);
+}
+
diff --git a/ervy.h b/ervy.h
@@ -3,3 +3,6 @@
#include "bar.h"
#include "bullet.h"
#include "ribbon.h"
+
+#define isErvyCompiledWithCurrentLisheepyVersion checkLibsheepyVersionErvy(LIBSHEEPY_VERSION)
+bool checkLibsheepyVersionErvy(const char *currentLibsheepyVersion);
diff --git a/package.yml b/package.yml
@@ -1,13 +1,12 @@
---
name: ervy
- version: 0.0.6
- description: "bring chart to terminal"
+ version: 0.0.7
+ description: bring chart to terminal
bin: ./ervy.c
- #cflags: -DA -ggdb -std=gnu11 -fPIC -pipe
- lflags: -lm -rdynamic
+ lflags: "-lm -rdynamic"
repository:
type: git
- url: git+https://github.com/RemyNoulin/ervy.git
+ url: "git+https://github.com/RemyNoulin/ervy.git"
keywords:
- utility
- library
@@ -15,23 +14,10 @@
- ascii
- terminal
- console
- - data-visualization
+ - "data-visualization"
author: Remy
license: MIT
bugs:
- url: https://github.com/RemyNoulin/ervy/issues
- homepage: https://github.com/RemyNoulin/ervy#readme
- #compileHelp: # text displayed when there is a compilation error
- #dependencies:
- # md4c:
- # Test configuration:
- #testBin: ./testervy.c
- #testCflags: -ggdb -std=gnu11 -fPIC -pipe -fprofile-arcs -ftest-coverage -Wall -Wextra
- #testLflags: -lcheck_pic -lrt -lm -lsubunit -fprofile-arcs -ftest-coverage -rdynamic
- # Memcheck configuration:
- #memcheckBin: ./memcheckervy.c
- #memcheckCmd: valgrind --leak-check=full --show-leak-kinds=all
- #memcheckCflags: -ggdb -std=gnu11 -fPIC -pipe
- #memcheckLflags: -rdynamic
- #documentationCmd: # command for generating the documentation with spm doc
- private: false # true for private package
+ url: "https://github.com/RemyNoulin/ervy/issues"
+ homepage: "https://github.com/RemyNoulin/ervy#readme"
+ private: false