Skip to content

Commit

Permalink
Makefile: enable skipping tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfajdiga committed Oct 19, 2024
1 parent 86ab4a2 commit 66bc142
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
VERSION = $(shell grep '"Version":' ./package/metadata.json | grep -o '[0-9\.]*')
TESTS := true

.PHONY: *

Expand All @@ -8,7 +9,9 @@ build: tests
./run-ts.sh ./src/generators/config > ./package/contents/config/main.xml

tests:
ifeq (${TESTS}, true)
./run-ts.sh ./src/tests
endif

install: build
kpackagetool6 --type=KWin/Script --install=./package || kpackagetool6 --type=KWin/Script --upgrade=./package
Expand Down

0 comments on commit 66bc142

Please sign in to comment.