瀏覽代碼

test/run.sh: shrc: Just conduct syntax check by -n option

pull/1/head
10sr 9 年之前
父節點
當前提交
7f97bee0fd
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      test/run.sh

+ 4
- 4
test/run.sh 查看文件

@@ -5,16 +5,16 @@ dir="`dirname $0`"
top="$dir"/..

# setup.sh
sh "$top"/setup.sh shrc_common
sh "$top"/setup.sh help

# shrc
for sh in sh bash zsh
do
cat <<__EOC__ | $sh -si
. "$top"/shrc || exit 1
__EOC__
sh -n "$top"/shrc
done



# emacs
emacs --version
emacs -q --debug-init --batch --eval "(setq debug-on-error t)" --load "$top"/emacs.el --kill

Loading…
取消
儲存