checkPackages

Utility for checking libsheepy version used when compiling the packages in local shpPackages
git clone https://noulin.net/git/checkPackages.git
Log | Files | Refs

commit fd01cb4f778b1a04713bb0464068ba64da229e01
parent 50b777af61176a4d195c9fba25b77e03d8a1bd07
Author: Remy Noulin <loader2x@gmail.com>
Date:   Sun,  8 Aug 2021 12:45:31 +0000

check return values

checkPackages.c | 6 +++---
package.yml     | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)

Diffstat:
McheckPackages.c | 6+++---
Mpackage.yml | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/checkPackages.c b/checkPackages.c @@ -18,9 +18,9 @@ int main(int ARGC, char** ARGV) {\n\ #define recompileTemplate "\ if (!isClassTemplateCompiledWithCurrentLisheepyVersion) {\n\ cwd = getCwd();\n\ - chDir(\"shpPackages/classTemplate\");\n\ - system(\"sheepy -d ; sheepy -l\");\n\ - chDir(cwd);\n\ + pError0(chDir(\"shpPackages/classTemplate\"));\n\ + pErrorNot0(system(\"sheepy -d ; sheepy -l\"));\n\ + pError0(chDir(cwd));\n\ }\n\ " #define footer "\ diff --git a/package.yml b/package.yml @@ -1,6 +1,6 @@ --- name: checkPackages - version: 0.0.3 + version: 0.0.4 description: "check libsheepy version in already compiled packages in local shpPackages, recompile when it doesn't match current libsheepy version in the system" bin: ./checkPackages.c repository: