-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathMakefile
47 lines (36 loc) · 1.02 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
UNAME := $(shell uname)
ifeq ($(UNAME), Linux)
NPROCS = $(shell grep -c 'processor' /proc/cpuinfo)
MAKEFLAGS += -j$(NPROCS)
endif
ifeq ($(UNAME), Darwin)
NPROCS = $(shell sysctl hw.ncpu | grep -o '[0-9]\+')
MAKEFLAGS += -j$(NPROCS)
endif
CODE_ROOT=embeds
CLIENT_EXAMPLE_ROOT=$(CODE_ROOT)/client-examples
cluster-verify:
fluvio version
fluvio topic list
fluvio topic create foobar
sleep 30
echo foo | fluvio produce foobar
fluvio consume foobar -B -d
fluvio topic delete foobar;
htmltest:
curl https://htmltest.wjdp.uk | bash
./bin/htmltest
run-client-example:
cd $(CLIENT_EXAMPLE_ROOT)/$(LANG); \
docker-compose build; \
docker-compose run example;
run-client-example-rust: LANG=rust
run-client-example-rust: run-client-example
run-client-example-node: LANG=node
run-client-example-node: run-client-example
run-client-example-java: LANG=java
run-client-example-java: run-client-example
run-client-example-python: LANG=python
run-client-example-python: run-client-example
update-cli-help:
./scripts/update-cli-help.sh