Commit b8e2ae0 1 parent b10d581 commit b8e2ae0 Copy full SHA for b8e2ae0
File tree 3 files changed +14
-0
lines changed
3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -e
3
+
4
+ INSTALLATION_PATH=${FG_PATH:-/ usr/ bin}
5
+
6
+ wget -nv https://raw.githubusercontent.com/brendangregg/FlameGraph/master/flamegraph.pl -O ${INSTALLATION_PATH} /flamegraph.pl
7
+ chmod +x ${INSTALLATION_PATH} /flamegraph.pl
Original file line number Diff line number Diff line change 43
43
redis-version : 7
44
44
- name : Install dependencies
45
45
run : make install
46
+ - name : Install flamegraph
47
+ run : make flamegraph-install
46
48
- name : run lint
47
49
run : make lint-test
48
50
- name : build docs
Original file line number Diff line number Diff line change @@ -68,3 +68,8 @@ docs-serve: ## serve documentation
68
68
.PHONY : readme
69
69
readme : # # generate readme.md
70
70
cp docs/index.md readme.md
71
+
72
+
73
+ .PHONY : flamegraph
74
+ flamegraph-install : # # install flamegraph
75
+ @./.dev/install-flamegraph
You can’t perform that action at this time.
0 commit comments