This repository was archived by the owner on Jan 21, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ ifeq (${DISABLE_OPTIMIZATION},true)
11
11
VERSION:="$(VERSION)-noopt"
12
12
endif
13
13
14
- .PHONY : clean all fmt vet lint build test vendor-update containers check-docs
14
+ .PHONY : clean all fmt vet lint build test vendor-update containers check-docs tutorial-test
15
15
.DEFAULT : all
16
16
all : clean fmt vet lint build test binaries
17
17
18
- ci : fmt vet lint check-docs coverage
18
+ ci : fmt vet lint check-docs coverage tutorial-test
19
19
20
20
AUTHORS : .mailmap .git/HEAD
21
21
git log --format=' %aN <%aE>' | sort -fu > $@
@@ -110,6 +110,10 @@ coverage:
110
110
go test -test.short -race -coverprofile=" ../../../$$ pkg/coverage.txt" $$ {pkg} || exit 1; \
111
111
done
112
112
113
+ tutorial-test :
114
+ @echo " + $@ "
115
+ ./scripts/tutorial-test
116
+
113
117
test-full :
114
118
@echo " + $@ "
115
119
@go test -race $(PKGS )
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ set -o errexit
4
4
set -o nounset
5
5
6
6
HERE=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
7
- cd " $HERE "
8
- cd ..
7
+ cd " $HERE /.."
9
8
10
9
make binaries
11
10
@@ -15,6 +14,8 @@ cleanup() {
15
14
}
16
15
trap cleanup EXIT
17
16
17
+ mkdir -p ~ /.infrakit/plugins
18
+
18
19
mkdir -p tutorial
19
20
build/infrakit-instance-file --dir ./tutorial/ &
20
21
build/infrakit-group-default --poll-interval 500ms &
You can’t perform that action at this time.
0 commit comments