File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 2
2
$ ./run_all.sh
3
3
```
4
4
5
+ ```
6
+ $ VELISP=PATH_TO_VELISP/velisp ./run_all.sh
7
+ ```
8
+
5
9
```
6
10
$ ./run_dlg.sh ok_dlg
7
11
```
12
+
13
+ ```
14
+ $ VELISP=PATH_TO_VELISP/velisp ./run_dlg.sh ok_dlg
15
+ ```
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- [[ ${DEBUG} != " " ]] && opts[k++]=--inspect-brk
4
-
5
3
if [[ $# -ne 1 ]]; then
6
4
echo " Usage: $( basename $0 ) <DCL_NAME>"
7
5
exit 1
@@ -16,7 +14,18 @@ if [[ -f "${dir}/${name}.lsp" ]]; then
16
14
init=$( < ${dir} /${name} .lsp)
17
15
fi
18
16
19
- node ${opts[@]} ${dir} /../../src/main.js << EOF
17
+ [[ ${NODE_DEBUG} != " " ]] && node_opts[k++]=--inspect-brk
18
+
19
+ cmd=" "
20
+ if [[ ${VELISP} != " " ]]; then
21
+ cmd=${VELISP}
22
+ else
23
+ cmd=" node ${node_opts[@]} ${dir} /../../src/main.js"
24
+ fi
25
+
26
+ echo " ${cmd} "
27
+
28
+ ${cmd} << EOF
20
29
(setq dcl_file "${dir} /${name} .dcl")
21
30
(if (< (setq dcl_id (load_dialog dcl_file)) 0)
22
31
(progn
You can’t perform that action at this time.
0 commit comments