Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
58587219
Commit
58587219
authored
Aug 09, 2019
by
Cristian Maglie
Committed by
Cristian Maglie
Aug 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sketch preprocessing should just output preprocessed sketch
There is nothing left to do after preprocessing.
parent
8507cbe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
commands/compile/compile.go
commands/compile/compile.go
+4
-1
No files found.
commands/compile/compile.go
View file @
58587219
...
...
@@ -161,7 +161,10 @@ func Compile(ctx context.Context, req *rpc.CompileReq, outStream, errStream io.W
if
req
.
GetShowProperties
()
{
err
=
builder
.
RunParseHardwareAndDumpBuildProperties
(
builderCtx
)
}
else
if
req
.
GetPreprocess
()
{
err
=
builder
.
RunPreprocess
(
builderCtx
)
if
err
=
builder
.
RunPreprocess
(
builderCtx
);
err
!=
nil
{
return
nil
,
fmt
.
Errorf
(
"preprocessing sketch: %s"
,
err
)
}
return
&
rpc
.
CompileResp
{},
nil
}
else
{
err
=
builder
.
RunBuilder
(
builderCtx
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment