CloudSlang / cloud-slang

CloudSlang Language, CLI and Builder
http://cloudslang.io
Apache License 2.0
236 stars 82 forks source link

compiler - The fact that the entire folder+all It's children are compiled does not allow the user to debug 1 flow or operation at a time. #217

Open meshipeer opened 9 years ago

meshipeer commented 9 years ago

Compilation engine is compiling all .sl files withing the folder even if the flow you are running is not dependent on it

3 people mention it during bug hunt!!

orius123 commented 9 years ago

It is cli not compiler

meirwah commented 9 years ago

If the 1 flow/op has no dependencies, then you can move to a diff folder, and trigger specific flow.

Otherwise, you need it to compile other ops/flows by using withe the --cp option, or compile sub-dirs

meshipeer commented 9 years ago

the compiler can compile only executable + its dependencies?

orius123 commented 9 years ago
                                                                                  ‏Yup                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        From: meshipeerSent: Monday, 6 April 2015 11:42To: CloudSlang/cloud-slangReply To: CloudSlang/cloud-slangCc: Eliya SadanSubject: Re: [cloud-slang] compiler - The fact that the entire folder+all It's children are compiled does not allow the user to debug  1 flow or operation at a time. (#217)the compiler can compile only executable + its dependencies?

—Reply to this email directly or view it on GitHub.

tethryus commented 8 years ago

Hello, I do consider the fact that all the .sl files should be compiled when trying to run one of them, in order to not miss another, that has been left there by mistake and merging it without solving the issue. Once all the .sl files are compiling successfully, after all the validations that have been implemented, saves alot of trouble. Otherwise, the review process would have to be more tedious.