Semantic Versioning Parser for voc
This commit is contained in:
commit
052d41505e
7 changed files with 510 additions and 0 deletions
25
Makefile
Normal file
25
Makefile
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue