We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b128ae6 commit 946070dCopy full SHA for 946070d
Makefile
@@ -10,17 +10,18 @@ GOFMT ?= gofmt -w
10
11
NAME = scw
12
SRC = .
13
+PACKAGES = api commands utils
14
REV = $(shell git rev-parse HEAD || echo "nogit")
15
TAG = $(shell git describe --tags --always || echo "nogit")
16
BUILDER = scaleway-cli-builder
17
18
19
BUILD_LIST = $(foreach int, $(SRC), $(int)_build)
-CLEAN_LIST = $(foreach int, $(SRC), $(int)_clean)
20
+CLEAN_LIST = $(foreach int, $(SRC) $(PACKAGES), $(int)_clean)
21
INSTALL_LIST = $(foreach int, $(SRC), $(int)_install)
-IREF_LIST = $(foreach int, $(SRC), $(int)_iref)
22
-TEST_LIST = $(foreach int, $(SRC), $(int)_test)
23
-FMT_LIST = $(foreach int, $(SRC), $(int)_fmt)
+IREF_LIST = $(foreach int, $(SRC) $(PACKAGES), $(int)_iref)
+TEST_LIST = $(foreach int, $(SRC) $(PACKAGES), $(int)_test)
24
+FMT_LIST = $(foreach int, $(SRC) $(PACKAGES), $(int)_fmt)
25
26
27
.PHONY: $(CLEAN_LIST) $(TEST_LIST) $(FMT_LIST) $(INSTALL_LIST) $(BUILD_LIST) $(IREF_LIST)
0 commit comments