mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-09 12:26:34 +00:00
Updated the CLI to 0.11.0
.
- Adjusted to gRPC API change, and - Log the CLI commit only once when generating from protoc. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
f6f6cb20de
commit
ae6aec27db
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
(() => {
|
(() => {
|
||||||
|
|
||||||
const DEFAULT_VERSION = '0.9.0'; // require('moment')().format('YYYYMMDD');
|
const DEFAULT_VERSION = '0.11.0'; // require('moment')().format('YYYYMMDD');
|
||||||
|
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const shell = require('shelljs');
|
const shell = require('shelljs');
|
||||||
|
@ -39,9 +39,6 @@
|
|||||||
if (shell.exec(`git -C ${repository} rev-parse --abbrev-ref HEAD`).code !== 0) {
|
if (shell.exec(`git -C ${repository} rev-parse --abbrev-ref HEAD`).code !== 0) {
|
||||||
shell.exit(1);
|
shell.exit(1);
|
||||||
}
|
}
|
||||||
if (shell.exec(`git -C ${repository} rev-parse --short HEAD`).code !== 0) {
|
|
||||||
shell.exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
const pluginExec = shell.which('grpc_tools_node_protoc_plugin');
|
const pluginExec = shell.which('grpc_tools_node_protoc_plugin');
|
||||||
if (!pluginExec || pluginExec.code !== 0) {
|
if (!pluginExec || pluginExec.code !== 0) {
|
||||||
|
@ -220,7 +220,7 @@ export class BoardsServiceImpl implements BoardsService {
|
|||||||
resolve(resp);
|
resolve(resp);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const requiredTools = resp.getRequiredToolsList().map(t => <Tool>{
|
const requiredTools = resp.getToolsdependenciesList().map(t => <Tool>{
|
||||||
name: t.getName(),
|
name: t.getName(),
|
||||||
packager: t.getPackager(),
|
packager: t.getPackager(),
|
||||||
version: t.getVersion()
|
version: t.getVersion()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user