UNPKG

easy-aos

Version:

帮助配置arm-gcc开发环境,简化命令行。

44 lines (36 loc) 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; const vscode = { set_debug: { run: "sed", params: ["-e 's/[a-z0-9_]*@[a-z0-9_]*/${app}@${board}/Ig'", "-e 's/\"program\": \".*\"/\"program\": \"${pwd}/out/${app}@${board}/binary/${app}@${board}.elf\"/'", ".vscode/launch.json"] }, set_workspace: { run: "cat", params: [`{ "folders": [ { "path": "" } ], "settings": { "aliosStudio.sdkPath": "C:\\Users\\35227\\.aos\\AliOS-Things", "files.exclude": { "**/.git": true, "platform/mcu/esp8266": false, "platform/mcu/*": false, } } } `, "{\n", "\t\"folders\": [\n", "\t\t{\n", "\t\t\t\"path\":\"${pwd}\"", "\t\t}\n\t],\n", "\t\"settings\": {\n", "\t\t\"files.exclude\": {\n", "\t\t\t\"**/.git\": true,", "\t\t\t\"**/.github\": true,", "${disble_paths}", "\t\t}\n\t}\n}", "EOF"] }, version: { run: "code", params: ["--version"] } }; var _default = vscode; exports.default = _default;