Browse Source

automatically run tests when compiling

main
cinnaboot 4 years ago
parent
commit
b0e11e5895
  1. 4
      Makefile

4
Makefile

@ -34,7 +34,9 @@ OBJECTS := $(patsubst $(SRCDIR)/%.cpp, $(OBJDIR)/%.o, $(SOURCES))
BIN := $(BINDIR)/orbital_shipping
all: mkdirs $(BIN)
all: mkdirs $(BIN) tests
@# automatically run tests when (re-)compiling
@${TEST_BIN}
.PHONY: all
tests: $(TEST_BIN)

Loading…
Cancel
Save