diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -12,19 +12,19 @@ DESKTOP=$(BUILDDIR)/$(DESKTOP_SRC) DESKTOP_INSTALL=$(INSTALLATION)/share/applications/$(DESKTOP_SRC) -all: $(LIMOX) $(DESKTOP) +all: $(LIMOX) $(DESKTOP) tests $(BUILDDIR): mkdir $@ -$(LIMOX): $(BUILDDIR) +$(LIMOX): $(BUILDDIR) tests go build -o $@ $(LIMOX_GO_PACKAGE) $(DESKTOP): $(BUILDDIR) cp $(DESKTOP_SRC) $@ -.PHONY: clean debug install +.PHONY: clean debug install tests clean: rm -rf $(BUILDDIR) @@ -35,3 +35,6 @@ debug: install: $(LIMOX) install -Dm 755 $(LIMOX) $(LIMOX_INSTALL) install -Dm 644 $(DESKTOP) $(DESKTOP_INSTALL) + +tests: + go test ./... |