Skip to content

Commit c49c43e

Browse files
committed
Restructure Makefile targets for testing
Signed-off-by: Alexander Scheel <[email protected]>
1 parent 2cf4193 commit c49c43e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Makefile

+8-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ test: check
1111

1212
dist: distui tarball
1313

14-
check: vet gosec staticcheck crypt utils games database business api-tests
14+
check: vet gosec staticcheck crypt utils games database business
15+
16+
check-api: check api-tests
1517

1618
deps:
1719
GOROOT="$(GOROOT)" $(GO) get -u $(NAMESPACE)/...
@@ -75,8 +77,11 @@ wpgapi: cmd/wpgapi/main.go pkg/*/*.go internal/*/*.go
7577
clean:
7678
rm -f wpgapi
7779

78-
distclean: clean
79-
rm -rf wpg.sqlite3 assets/static/node_modules assets/static/package-lock.json
80+
clean-api: clean
81+
rm -rf wpg.sqlite3
82+
83+
distclean: clean-api
84+
rm -rf assets/static/node_modules assets/static/package-lock.json
8085

8186
submod:
8287
git submodule init && git submodule update

0 commit comments

Comments
 (0)