summary refs log tree commit diff stats
path: root/examples/cgi
diff options
context:
space:
mode:
authorPaul Tan <pyokagan@gmail.com>2017-08-22 23:36:03 +0800
committerPaul Tan <pyokagan@gmail.com>2017-08-25 17:45:33 +0800
commitb06c0f97a4640c16b2205635b378a39fcef9b814 (patch)
treee903eca265db9211261c8783f5267cb41d50af76 /examples/cgi
parent1a50442c13bfc19fe314df0a0fec87dd1b3c5d48 (diff)
downloadNim-b06c0f97a4640c16b2205635b378a39fcef9b814.tar.gz
writeDepsFile: write included files as well
`writeDepsFile()` does not list files which were included with the
`include` statement, e.g, with:

    import file1
    include file2

`file1` will be written to the deps file, while `file2` would not.

Fix this by modifying `writeDepsFile()` to write included files as well.
Now, both `file1` and `file2` in the above example will be written to
the deps file.
Diffstat (limited to 'examples/cgi')
0 files changed, 0 insertions, 0 deletions