-
Notifications
You must be signed in to change notification settings - Fork 233
Pre Build command #411
Comments
this! |
@Sneezry , Can you help to investigate it? |
prebuild will work on 0.2.15 version, so close it |
On thinking about it... Isn't this a bit upside down?
What I mean is that, if instead of vscode-arduino allowing a pre-build
step, wouldn't it be better if VSC could call the vscode-arduino "build" as
part of a build (or pre build) step of itself? That way you get a general
way of doing things and the vscode-arduino codebase doesn't have to care
about the user's particular needs.
So, in VSC, you'd choose "build", which first stop is to generate this
"extra code" and then call vscode-arduino following that (which wasn't
possible at the time of my last comment) . Doesn't that make sense?
…On Fri, May 11, 2018 at 7:00 AM, Chen Zhang ***@***.***> wrote:
prebuild will work on 0.2.15 version, so close it
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#411 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQlxwH_GkamLIbKF39S6Hdh6iieUsP_ks5txRrbgaJpZM4PXbpQ>
.
|
We have added a new option to add prebuild command in @Rlopez do you mean we should just call Arduino IDE build command, and Arduino IDE will handle prebuild action? |
@Sneezry I think it is Visual Studio Code that is at fault. Imagine setting up a task (with a sequence of steps) in Visual Studio Code (as can be done today for e.g. pre-debugging) and being able to call a plug-in function (say Arduino build in this case) as one of those steps then the other steps could do whatever extra functionality is needed (for instance calling a bash script) |
I need to include text file a string variable (html page to serv).
A way to do that could be to execute some external command before the build.
Do you thing it's a good choice to add a property in arduino.json & call the given command before the verify task ?
The text was updated successfully, but these errors were encountered: