File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,18 @@ build-docker:
14
14
docker build -t iron/functions:latest .
15
15
16
16
test :
17
- go test -v $(shell glide nv | grep -v examples | grep -v tool | grep -v fnctl)
17
+ go test -v $(shell go list ./... | grep -v vendor | grep -v examples | grep -v tool | grep -v fnctl)
18
18
cd fnctl && $(MAKE ) test
19
19
20
+ test-datastore :
21
+ cd api/datastore && go test -v
22
+
20
23
test-docker :
21
24
docker run -ti --privileged --rm -e LOG_LEVEL=debug \
22
25
-v /var/run/docker.sock:/var/run/docker.sock \
23
26
-v $(DIR ) :/go/src/github.com/iron-io/functions \
24
27
-w /go/src/github.com/iron-io/functions iron/go:dev go test \
25
- -v $(shell glide nv | grep -v examples | grep -v tool | grep -v fnctl)
28
+ -v $(shell go list ./... | grep -v vendor | grep -v examples | grep -v tool | grep -v fnctl | grep -v datastore )
26
29
27
30
run :
28
31
./functions
Original file line number Diff line number Diff line change 31
31
override :
32
32
- make test-docker :
33
33
pwd : $GO_PROJECT
34
+ - make test-datastore :
35
+ pwd : $GO_PROJECT
34
36
35
37
deployment :
36
38
release :
You can’t perform that action at this time.
0 commit comments