|
@@ -8,7 +8,9 @@ D3FLAMEGRAPH_VERSION="2.0.0-alpha4"
|
8
|
8
|
D3FLAMEGRAPH_JS="d3-flamegraph.js"
|
9
|
9
|
D3FLAMEGRAPH_CSS="d3-flamegraph.css"
|
10
|
10
|
|
11
|
|
-D3FLAMEGRAPH_DIR=third_party/d3flamegraph
|
|
11
|
+cd $(dirname $0)
|
|
12
|
+
|
|
13
|
+D3FLAMEGRAPH_DIR=d3flamegraph
|
12
|
14
|
|
13
|
15
|
generate_d3flamegraph_go() {
|
14
|
16
|
local d3_js=$(curl -s "${D3FLAMEGRAPH_REPO}/${D3FLAMEGRAPH_VERSION}/dist/${D3FLAMEGRAPH_JS}" | sed 's/`/`+"`"+`/g')
|