makedev improve and CI badge

This commit is contained in:
2025-09-12 23:28:09 +02:00
parent 1dec3e5ee9
commit 34a6ac328b
4 changed files with 25 additions and 4 deletions
+1
View File
@@ -24,3 +24,4 @@ configure
src/margen*
*.pkg.tar.zst
pkg
margen-*
+19 -1
View File
@@ -24,12 +24,30 @@ valgrind: build
valgrind --leak-check=full -s ./build/$(TARGET) $(TEST_ARGS)
.PHONY: release
release:
release: clean
aclocal
autoconf
automake --add-missing
./configure
make distcheck
mkdir -p build
cp $(TARGET)-*.tar.gz build
@rm -rf \
autom4te.cache \
aclocal.m4 \
compile \
config.* \
configure \
depcomp \
$(TARGET) \
$(TARGET)-*.tar.gz \
$(TARGET)-*.pkg.tar.zst \
install-sh \
Makefile \
Makefile.in \
missing \
src/.* \
src/*.o \
.PHONY: release-arch
release-arch: clean
+2
View File
@@ -1,3 +1,5 @@
[![C-lang CI](https://github.com/klemek/margen/actions/workflows/ci.yml/badge.svg)](https://github.com/klemek/margen/actions/workflows/ci.yml)
# margen
> generate a marble-like pattern bitmap image, blazing fast.
+2 -2
View File
@@ -48,12 +48,12 @@ void print_help(int status_code) {
void invalid_arg(char *arg) {
fprintf(stderr, "invalid argument: '%s'\n\n", arg);
print_help(1);
print_help(EXIT_FAILURE);
}
void invalid_value(char *arg, char *value) {
fprintf(stderr, "invalid value for argument '%s': '%s'\n\n", arg, value);
print_help(1);
print_help(EXIT_FAILURE);
}
bool is_arg(char *arg, char *ref) { return strcoll(arg, ref) == 0; }