diff options
author | flywind <xzsflywind@gmail.com> | 2022-03-24 04:09:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 21:09:44 +0100 |
commit | 7c3c61f2f1e898e5c70dfd619d94d09e339836e4 (patch) | |
tree | 65944e5fc323c6099236dfa05a248d45d5470b42 /tests | |
parent | a262a87bbebdaf41ea248f7caa780f8ea27e20e1 (diff) | |
download | Nim-7c3c61f2f1e898e5c70dfd619d94d09e339836e4.tar.gz |
fix nim check nimscript [backport: 1.6] (#19444)
fix #19440; fix #3858
Diffstat (limited to 'tests')
-rw-r--r-- | tests/newconfig/tconfigcheck.nims | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/newconfig/tconfigcheck.nims b/tests/newconfig/tconfigcheck.nims new file mode 100644 index 000000000..2e12a0bda --- /dev/null +++ b/tests/newconfig/tconfigcheck.nims @@ -0,0 +1,11 @@ +discard """ + cmd: "nim check $file" +""" + +mode = ScriptMode.Verbose +proc build() = + echo "building nim... " + exec "sleep 10" + echo getCurrentDir() + +echo "hello" |