UNPKG

easy-aos

Version:

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

57 lines (50 loc) 1.03 kB
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" ] } } export default vscode