Closed k1xme closed 9 years ago
Hi k1xme,
You're right that this is more consistent with the other build/run scenarii, so you could add this as a PR.
Regards, Mike.
On 31 July 2015 at 23:45, k1xme notifications@github.com wrote:
I was gonna use this plugin to compile and run my single c++ file program, but turned out it only compile the program. So I added an attribute in the DockerBuildCommand class as follow: self.exec_cmd = " && ./a.out" if docker_image == "gcc" else "" # Run the executable file of cpp.
And appended it to build_cmd.
I don't know whether this little modification is needed by you guys.
If so, I will post a PR.
— Reply to this email directly or view it on GitHub https://github.com/domeide/sublime-docker/issues/22.
Hi Mike!
I've created a PR for this modification and a little bug in dockerutils.py. Please merge my PR.
Thanks!
No body follows up with this?
Hi,
Thanks for the reminder ... I'm afraid I'm just leaving on a trip ... I'll have a look on my return (setting a reminder for that) - sorry for the delay and thanks for your contribution.
Mike
On 2 November 2015 at 02:17, k1xme notifications@github.com wrote:
No body follows up with this?
— Reply to this email directly or view it on GitHub https://github.com/domeide/sublime-docker/issues/22#issuecomment-152885677 .
I'v merged your PR. Thanks @k1xme for your help!
I was gonna use this plugin to compile and run my single c++ file program, but turned out it only compile the program. So I added an attribute in the
DockerBuildCommand
class as follow:self.exec_cmd = " && ./a.out" if docker_image == "gcc" else "" # Run the executable file of cpp.
And appended it to
build_cmd
.I don't know whether this little modification is needed by you guys.
If so, I will post a PR.