Procházet zdrojové kódy

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

Alexey Alexandrov před 7 roky
rodič
revize
783adb792f
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3
    1
      third_party/update_d3flamegraph.sh

update_d3flamegraph.sh → third_party/update_d3flamegraph.sh Zobrazit soubor

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