Skip to content

Commit d07763a

Browse files
author
Akos Kitta
committed
Updated to 0.12.0-rc1 CLI.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
1 parent f605994 commit d07763a

File tree

3 files changed

+2
-36
lines changed

3 files changed

+2
-36
lines changed

arduino-ide-extension/scripts/download-cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
(() => {
1212

13-
const DEFAULT_VERSION = '0.11.0-rc1-62-g72c9655f'; // require('moment')().format('YYYYMMDD');
13+
const DEFAULT_VERSION = '0.12.0-rc1'; // require('moment')().format('YYYYMMDD');
1414

1515
const path = require('path');
1616
const shell = require('shelljs');

arduino-ide-extension/src/node/cli-protocol/commands/compile_pb.d.ts

-4
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ export class CompileReq extends jspb.Message {
6969
getExportDir(): string;
7070
setExportDir(value: string): CompileReq;
7171

72-
getProgrammer(): string;
73-
setProgrammer(value: string): CompileReq;
74-
7572

7673
serializeBinary(): Uint8Array;
7774
toObject(includeInstance?: boolean): CompileReq.AsObject;
@@ -103,7 +100,6 @@ export namespace CompileReq {
103100
optimizefordebug: boolean,
104101
dryrun: boolean,
105102
exportDir: string,
106-
programmer: string,
107103
}
108104
}
109105

arduino-ide-extension/src/node/cli-protocol/commands/compile_pb.js

+1-31
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ proto.cc.arduino.cli.commands.CompileReq.toObject = function(includeInstance, ms
114114
librariesList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
115115
optimizefordebug: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
116116
dryrun: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
117-
exportDir: jspb.Message.getFieldWithDefault(msg, 18, ""),
118-
programmer: jspb.Message.getFieldWithDefault(msg, 19, "")
117+
exportDir: jspb.Message.getFieldWithDefault(msg, 18, "")
119118
};
120119

121120
if (includeInstance) {
@@ -225,10 +224,6 @@ proto.cc.arduino.cli.commands.CompileReq.deserializeBinaryFromReader = function(
225224
var value = /** @type {string} */ (reader.readString());
226225
msg.setExportDir(value);
227226
break;
228-
case 19:
229-
var value = /** @type {string} */ (reader.readString());
230-
msg.setProgrammer(value);
231-
break;
232227
default:
233228
reader.skipField();
234229
break;
@@ -385,13 +380,6 @@ proto.cc.arduino.cli.commands.CompileReq.serializeBinaryToWriter = function(mess
385380
f
386381
);
387382
}
388-
f = message.getProgrammer();
389-
if (f.length > 0) {
390-
writer.writeString(
391-
19,
392-
f
393-
);
394-
}
395383
};
396384

397385

@@ -776,24 +764,6 @@ proto.cc.arduino.cli.commands.CompileReq.prototype.setExportDir = function(value
776764
};
777765

778766

779-
/**
780-
* optional string programmer = 19;
781-
* @return {string}
782-
*/
783-
proto.cc.arduino.cli.commands.CompileReq.prototype.getProgrammer = function() {
784-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
785-
};
786-
787-
788-
/**
789-
* @param {string} value
790-
* @return {!proto.cc.arduino.cli.commands.CompileReq} returns this
791-
*/
792-
proto.cc.arduino.cli.commands.CompileReq.prototype.setProgrammer = function(value) {
793-
return jspb.Message.setProto3StringField(this, 19, value);
794-
};
795-
796-
797767

798768

799769

0 commit comments

Comments
 (0)