make unittest recipe installs pre-commit hook
This commit is contained in:
@@ -14,6 +14,7 @@ test: planes.o brushdef.o oopless-parser.o test-parser.o
|
||||
|
||||
unittest: EntityConverter.o catch.o
|
||||
$(CC) $^ $(CFLAGS) -o $(UNITEX)
|
||||
mv test/catch ../.git/hooks/pre-commit
|
||||
|
||||
test-parser.o: test/test-parser.cpp
|
||||
$(CC) -c $^ $(CFLAGS)
|
||||
|
Reference in New Issue
Block a user