问题描述
我叫下面的脚本集结bat.sublime建造
I have the following script called "build-bat.sublime-build":
{
"cmd": "build.bat",
"working_dir": "$project_path",
"windows" : {
"shell": true
}
}
脚本位于C:\\用户\\ MYNAME \\应用程序数据\\漫游\\崇高文本3 \\包
The script is in C:\Users\MyName\AppData\Roaming\Sublime Text 3\Packages
我可以在工具选择脚本/编译系统/建造蝙蝠,然后我通过CTRL + B或通过工具手动选择它运行/编译
I can select the script in Tools/Build Systems/build-bat and then I run it via CTRL+B or via manually selecting it in Tools/Build
这究竟发生了什么。我没有看到任何东西,我没有得到任何错误。
It happens exactly nothing. I don't see anything, I don't get any errors.
它应该运行命名的文件:在当前目录中,我处理的文件放置的build.bat。但是,这不会发生。
It should run a file named: build.bat in the current directory where the file that I am working on is placed. But that doesn't happen.
为什么?
推荐答案
添加一个新的构建系统后升华文本3,你必须重新启动崇高的文本3.此code以上的作品后。
After adding a new build system to sublime text 3 you have to restart sublime text 3. After this the code above works.
这篇关于构建系统 - 崇高文字3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!