ソースを参照

Move update_d3flamegraph.sh script from the root directory. (#370)

Alexey Alexandrov 7 年 前
コミット
783adb792f
共有1 個のファイルを変更した3 個の追加1 個の削除を含む
  1. 3
    1
      third_party/update_d3flamegraph.sh

update_d3flamegraph.sh → third_party/update_d3flamegraph.sh ファイルの表示

@@ -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')