File tree Expand file tree Collapse file tree 1 file changed +18
-12
lines changed
Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ PROGS = helloworld \
3737 sleep \
3838 dataconverter \
3939 autoscaling-monitoring \
40+ batch \
4041
4142TEST_ARG ?= -race -v -timeout 5m
4243BUILD := ./build
@@ -52,6 +53,7 @@ TEST_DIRS=./cmd/samples/cron \
5253 ./cmd/samples/dsl \
5354 ./cmd/samples/expense \
5455 ./cmd/samples/fileprocessing \
56+ ./cmd/samples/batch \
5557 ./cmd/samples/recipes/branch \
5658 ./cmd/samples/recipes/choice \
5759 ./cmd/samples/recipes/greetings \
@@ -187,6 +189,21 @@ dataconverter:
187189autoscaling-monitoring :
188190 go build -o bin/autoscaling-monitoring cmd/samples/advanced/autoscaling-monitoring/* .go
189191
192+ batch :
193+ go build -o bin/batch cmd/samples/batch/* .go
194+
195+ test : bins
196+ @rm -f test
197+ @rm -f test.log
198+ @echo $(TEST_DIRS )
199+ @for dir in $(TEST_DIRS ) ; do \
200+ go test -coverprofile=$@ " $$ dir" | tee -a test.log; \
201+ done ;
202+
203+ clean :
204+ rm -rf bin
205+ rm -Rf $(BUILD )
206+
190207bins : helloworld \
191208 versioning \
192209 delaystart \
@@ -220,15 +237,4 @@ bins: helloworld \
220237 sleep \
221238 dataconverter \
222239 autoscaling-monitoring \
223-
224- test : bins
225- @rm -f test
226- @rm -f test.log
227- @echo $(TEST_DIRS )
228- @for dir in $(TEST_DIRS ) ; do \
229- go test -coverprofile=$@ " $$ dir" | tee -a test.log; \
230- done ;
231-
232- clean :
233- rm -rf bin
234- rm -Rf $(BUILD )
240+ batch \
You can’t perform that action at this time.
0 commit comments