diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fab72d..cef9e2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ # 更新日志 +## [1.3.0] 2022-04-28 +- python默认使用python3来执行 ## [1.2.1] 2020-11-04 - 修复一处书写错误 diff --git a/README.md b/README.md index 4b4eb00..74a1fea 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ > - .cjs > - .mjs > - .json (调用`npm start`来执行) -> - .py +> - .py (默认使用`python3`) > - .sh > - .swift > - .ts (依赖全局安装的`ts-node`模块) diff --git a/build_system.js b/build_system.js index 9ba1cee..5205ac8 100644 --- a/build_system.js +++ b/build_system.js @@ -1,12 +1,10 @@ /** * 编译系统 * - * @author yutent + * @author yutent * @date 2018/12/20 11:37:54 */ -'use strict' - const vsc = require('vscode') const exec = require('child_process').exec const path = require('path') @@ -15,7 +13,7 @@ const kill = require('tree-kill') const log = console.log const std = vsc.window.createOutputChannel('build-system') -std.out = function(msg) { +std.out = function (msg) { std.appendLine(msg) } @@ -27,7 +25,7 @@ const EXTS = { '.cjs': 'node', '.mjs': 'node', '.json': 'npm start', - '.py': 'python -u', + '.py': 'python3 -u', '.php': 'php', '.sh': 'bash', '.swift': 'swift', diff --git a/index.js b/index.js index 25ee750..bd60742 100644 --- a/index.js +++ b/index.js @@ -1,11 +1,9 @@ /** * build system - * @author yutent + * @author yutent * @date 2018/12/20 10:46:07 */ -'use strict' - const vsc = require('vscode') const BuildSystem = require('./build_system') diff --git a/package.json b/package.json index ed90b79..e80212c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "build-system", "displayName": "sublime build system", "description": "🔥 类似sublime的Build System功能, 方便快速调试一些代码片断或想法。", - "version": "1.2.1", + "version": "1.3.0", "publisher": "yutent", "author": "Yutent [@yutent]", "icon": "logo.png", diff --git a/test/Untitled-1 b/test/Untitled-1 deleted file mode 100644 index 0519ecb..0000000 --- a/test/Untitled-1 +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file