You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/scripts/find_packages
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,15 +11,27 @@ kernel=$(uname -s)
11
11
# Determine root directory:
12
12
root_dir="$(git rev-parse --show-toplevel)"
13
13
14
+
# Define the project source code directory:
15
+
base_dir="${root_dir}/lib/node_modules"
16
+
14
17
# Define the path to the build directory:
15
18
build_dir="${root_dir}/build"
16
19
20
+
# Define the directory path for distributable files:
21
+
dist_dir="${root_dir}/dist"
22
+
23
+
# Define the directory path for external library dependencies:
24
+
deps_dir="${root_dir}/deps"
25
+
17
26
# Define the path to the reports directory:
18
27
reports_dir="${root_dir}/reports"
19
28
20
29
# Define the directory for top-level tools:
21
30
tools_dir="${root_dir}/tools"
22
31
32
+
# Define the directory for project tools which are Node.js packages:
33
+
tools_pkgs_dir="${base_dir}/_tools"
34
+
23
35
# Define the path to node modules:
24
36
node_modules="${root_dir}/node_modules"
25
37
@@ -38,9 +50,9 @@ main() {
38
50
39
51
# On Mac OSX, in order to use `|` and other regular expression operators, we need to use enhanced regular expression syntax (-E); see https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man7/re_format.7.html#//apple_ref/doc/man/7/re_format.
0 commit comments