Semantic Versioning Parser for voc

This commit is contained in:
Antranig Vartanian 2025-06-16 07:49:29 +04:00
commit 052d41505e
No known key found for this signature in database
GPG key ID: DE3998662D59F21C
7 changed files with 510 additions and 0 deletions

25
Makefile Normal file
View file

@ -0,0 +1,25 @@
.POSIX:
SRC = ../src
TESTS = ../tests
BUILD = build
OBJS = $(BUILD)/SemVer.o
SEMVERTEST = $(BUILD)/SemVerTest
all: build
build:
mkdir -p $(BUILD)
cd $(BUILD) && voc $(SRC)/SemVer.Mod -s 2>/dev/null
test: $(SEMVERTEST)
cd $(BUILD) \
&& ./SemVerTest
$(SEMVERTEST): build
cd $(BUILD) \
&& voc $(TESTS)/SemVerTest.Mod -m 2>/dev/null
clean:
rm -rf $(BUILD)