-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
70 lines (48 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
default: install
dev-build:
docker-compose kill
docker-compose -f docker-compose.yml build # --no-cache
dev:
sh dev.sh
.PHONY: test
test:
sh test.sh
run: install
cd build && sh run.sh
package: install clear-logs
mkdir -p package
zip -r package/funes.zip build
install: build configure
configure:
sh config.sh
build: extract
sh build.sh
extract: download
mkdir -p extract
tar -xzvf download/openresty-1.25.3.1.tar.gz -C extract
download:
mkdir -p download
wget -P download https://openresty.org/download/openresty-1.25.3.1.tar.gz
clean: clean-build clean-download clean-extract clean-package
clean-build:
rm -rf build
clean-extract:
rm -rf extract
clean-download:
rm -rf download
clean-package:
rm -rf package
sniff:
tcptrack -i eth0 -r 2
clear-cache:
rm -rf /data/funes_rmb_cache/*
make clear-logs:
cd build && sh logtruncate.sh
tail-cache:
tail -f build/logs/cache.log
tail-rangecache:
tail -f build/logs/range_cache.log
tail-error:
tail -f build/logs/error.log
tail-logs:
tail -f build/logs/*.log