mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-14 23:06:34 +00:00
Updated to 0.12.0-rc1 CLI.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
f605994d7d
commit
d07763a854
@ -10,7 +10,7 @@
|
||||
|
||||
(() => {
|
||||
|
||||
const DEFAULT_VERSION = '0.11.0-rc1-62-g72c9655f'; // require('moment')().format('YYYYMMDD');
|
||||
const DEFAULT_VERSION = '0.12.0-rc1'; // require('moment')().format('YYYYMMDD');
|
||||
|
||||
const path = require('path');
|
||||
const shell = require('shelljs');
|
||||
|
@ -69,9 +69,6 @@ export class CompileReq extends jspb.Message {
|
||||
getExportDir(): string;
|
||||
setExportDir(value: string): CompileReq;
|
||||
|
||||
getProgrammer(): string;
|
||||
setProgrammer(value: string): CompileReq;
|
||||
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): CompileReq.AsObject;
|
||||
@ -103,7 +100,6 @@ export namespace CompileReq {
|
||||
optimizefordebug: boolean,
|
||||
dryrun: boolean,
|
||||
exportDir: string,
|
||||
programmer: string,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -114,8 +114,7 @@ proto.cc.arduino.cli.commands.CompileReq.toObject = function(includeInstance, ms
|
||||
librariesList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
|
||||
optimizefordebug: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
||||
dryrun: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
|
||||
exportDir: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
||||
programmer: jspb.Message.getFieldWithDefault(msg, 19, "")
|
||||
exportDir: jspb.Message.getFieldWithDefault(msg, 18, "")
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
@ -225,10 +224,6 @@ proto.cc.arduino.cli.commands.CompileReq.deserializeBinaryFromReader = function(
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setExportDir(value);
|
||||
break;
|
||||
case 19:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setProgrammer(value);
|
||||
break;
|
||||
default:
|
||||
reader.skipField();
|
||||
break;
|
||||
@ -385,13 +380,6 @@ proto.cc.arduino.cli.commands.CompileReq.serializeBinaryToWriter = function(mess
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getProgrammer();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
19,
|
||||
f
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -776,24 +764,6 @@ proto.cc.arduino.cli.commands.CompileReq.prototype.setExportDir = function(value
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string programmer = 19;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.cc.arduino.cli.commands.CompileReq.prototype.getProgrammer = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.cc.arduino.cli.commands.CompileReq} returns this
|
||||
*/
|
||||
proto.cc.arduino.cli.commands.CompileReq.prototype.setProgrammer = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 19, value);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user