diff options
author | Khronos <39792509+Khronos31@users.noreply.github.com> | 2020-06-01 21:06:25 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 14:06:25 +0200 |
commit | 5900d8442c6bf41bfaab02ae877ebf23680680bb (patch) | |
tree | e07f21994898625d224ce413734578766f53f372 /nimsuggest | |
parent | 0489e76da768502aa7bddea1cbab3bfa5f6b22a2 (diff) | |
download | Nim-5900d8442c6bf41bfaab02ae877ebf23680680bb.tar.gz |
Fix a problem with extra build commands. (#14528)
When --compileOnly is on, extraCmds are not added to JsonBuildInstructions. ``` $ echo 'echo 123'>test.nim $ nim c --debuginfo --nimcache:cache test $ ls cache test test.dSYM test.nim $ tail -n3 cache/test.json "extraCmds": ["dsymutil /Users/khronos31/src/tmp/test"], "stdinInput": false } ``` ``` $ echo 'echo 123'>test.nim $ nim c --debuginfo --nimcache:cache --compileOnly test $ nim jsonscript --nimcache:cache test $ ls cache test test.nim $ tail -n3 cache/test.json "extraCmds": [], "stdinInput": false } ```
Diffstat (limited to 'nimsuggest')
0 files changed, 0 insertions, 0 deletions