File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
- TARGET_DIR=" $( pwd) "
5
-
6
- # INFO: This script is always run from the individual package.
7
-
8
4
node=" yarn node"
9
5
tsdxArgs=()
10
6
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
- SCRIPTS_DIR=" $( dirname " ${BASH_SOURCE[0]} " ) "
5
- ROOT_DIR=" $( realpath $SCRIPTS_DIR /..) /"
4
+ ROOT_DIR=" $( git rev-parse --show-toplevel) /"
6
5
TARGET_DIR=" $( pwd) "
7
6
RELATIVE_TARGET_DIR=" ${TARGET_DIR/ $ROOT_DIR / } "
8
7
@@ -26,4 +25,4 @@ tsdxArgs+=($@)
26
25
# Execute
27
26
$node " $( yarn bin tsdx) " " ${tsdxArgs[@]} "
28
27
29
- popd > /dev/null
28
+ popd > /dev/null
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
- SCRIPTS_DIR=" $( dirname " ${BASH_SOURCE[0]} " ) "
5
- ROOT_DIR=" $( realpath $SCRIPTS_DIR /..) /"
4
+ ROOT_DIR=" $( git rev-parse --show-toplevel) /"
6
5
TARGET_DIR=" $( pwd) "
7
6
RELATIVE_TARGET_DIR=" ${TARGET_DIR/ $ROOT_DIR / } "
8
7
@@ -32,4 +31,4 @@ tsdxArgs+=($@)
32
31
# Execute
33
32
$node " $( yarn bin tsdx) " " ${tsdxArgs[@]} "
34
33
35
- popd > /dev/null
34
+ popd > /dev/null
You can’t perform that action at this time.
0 commit comments