Jatana / FastOlympicCoding

Tools for competitive programming for Sublime Text 3 & 4
399 stars 48 forks source link

What is the use of -I '{source_file_dir}' in lint command ? #34

Closed prabh1601 closed 3 years ago

prabh1601 commented 3 years ago

Can you please let me know why is this used and what are the effect of removing it ?

Jatana commented 3 years ago

The option -i {dir} adds {dir} to index.

{source_file_dir} is the directory of the source file.

Because the linting compiles file in a different directory, the directory of the source file is explicitly specified.