copy misc\onyx-windows.sublime-build dist\misc\onyx-windows.sublime-build
copy misc\onyx-mode.el dist\misc\onyx-mode.el
copy misc\onyx.sublime-syntax dist\misc\onyx.sublime-syntax
- copy misc\vscode\onyx-0.1.8.vsix dist\misc\onyx-0.1.8.vsix
+ copy misc\vscode\onyxlang-0.1.9.vsix dist\misc\onyxlang-0.1.9.vsix
copy onyx_runtime.dll dist\onyx_runtime.dll
xcopy tests dist\tests /s /e /h /I
cp misc/onyx-windows.sublime-build "$DIST_DIR/misc"
cp misc/onyx-mode.el "$DIST_DIR/misc"
cp misc/onyx.sublime-syntax "$DIST_DIR/misc"
- cp misc/vscode/onyx-0.1.8.vsix "$DIST_DIR/misc"
+ cp misc/vscode/onyxlang-0.1.9.vsix "$DIST_DIR/misc"
cp LICENSE "$DIST_DIR/LICENSE"
}
process.env["PATH"] = process.env["PATH"] + ":" + onyx_path + "/bin"
}
+ let executable = `${onyx_path}/bin/onyx`;
+ if (process.platform == "win32") {
+ // Windows distributions are different
+ executable = `${onyx_path}/onyx`;
+ }
+
if (onyx_path) {
let serverOptions: vslc.ServerOptions = {
- command: `${onyx_path}/bin/onyx`,
+ command: executable,
args: ["lsp"],
transport: vslc.TransportKind.stdio,
};
process.env["ONYX_PATH"] = onyx_path;
process.env["PATH"] = process.env["PATH"] + ":" + onyx_path + "/bin";
}
+ let executable = `${onyx_path}/bin/onyx`;
+ if (process.platform == "win32") {
+ // Windows distributions are different
+ executable = `${onyx_path}/onyx`;
+ }
if (onyx_path) {
let serverOptions = {
- command: `${onyx_path}/bin/onyx`,
+ command: executable,
args: ["lsp"],
transport: vslc.TransportKind.stdio,
};
"name": "onyxlang",
"displayName": "Onyx Programming Language",
"description": "Onyx syntax highlighting and debugger support.",
- "version": "0.1.8",
+ "version": "0.1.9",
"publisher": "onyxlang",
"license": "BSD-2-Clause",
"engines": {