Skip to content

Commit

Permalink
Dependency: Upgrade to [email protected] (#1454)
Browse files Browse the repository at this point in the history
* Upgrade to [email protected]

* Clean up

* Remove macOS 10.13 vm, since it is going away anyway
  • Loading branch information
bryphe authored Mar 10, 2020
1 parent 90a1097 commit b058845
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 74 deletions.
24 changes: 0 additions & 24 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,30 +204,6 @@ jobs:
env:
SYSTEM_ARTIFACTSDIRECTORY: $(System.ArtifactsDirectory)

- job: ValidateMacOSRelease13
displayName: "MacOS: Validate Release (10.13)"
dependsOn:
- Kickoff
- MacOS
pool:
vmImage: 'macOS-10.13'
variables:
ONI2_SHORT_COMMIT_ID: $[dependencies.Kickoff.outputs['shortCommitVariableStep.ONI2_SHORT_COMMIT_ID'] ]

steps:
- script: echo $(ONI2_SHORT_COMMIT_ID)
- script: 'echo ArtifactDir: $(System.ArtifactsDirectory)'
displayName: 'Echo artifact dir'
- task: DownloadBuildArtifacts@0
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: 'Release_Darwin'
downloadPath: '$(System.ArtifactsDirectory)'
- script: ./scripts/osx/validate-release.sh
env:
SYSTEM_ARTIFACTSDIRECTORY: $(System.ArtifactsDirectory)

- job: ValidateMacOSRelease14
displayName: "MacOS: Validate Release (10.14)"
dependsOn:
Expand Down
2 changes: 1 addition & 1 deletion extensions/reason-vscode/ocaml.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extensions/reason-vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 10 additions & 12 deletions extensions/reason-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "IDE & Syntax support for Reason/OCaml",
"author": "Jared Forsyth",
"license": "ISC",
"version": "1.7.2",
"version": "1.7.8",
"publisher": "jaredly",
"repository": {
"type": "git",
Expand Down Expand Up @@ -39,6 +39,10 @@
{
"command": "reason-language-server.create_interface",
"title": "Reason: Create an interface file for this implementation file."
},
{
"command": "reason-language-server.dump_file_data",
"title": "Reason: dump data on the current file"
}
],
"snippets": [
Expand Down Expand Up @@ -78,6 +82,10 @@
"type": "string",
"description": "Provide a location for the reason-lisp lispRefmt binary"
},
"reason_language_server.mlfmt": {
"type": "string",
"description": "Provide a location for an .ml/.mli formatter"
},
"reason_language_server.format_width": {
"type": "number",
"default": 80,
Expand Down Expand Up @@ -117,11 +125,6 @@
"type": "boolean",
"default": true,
"description": "Enables autorun of bsb"
},
"reason_language_server.useOldDuneProcess": {
"type": "boolean",
"default": true,
"description": "Keep the old process for determining package files (for compatability, will remove soon)"
}
}
},
Expand Down Expand Up @@ -199,10 +202,5 @@
},
"devDependencies": {
"typescript": "^2.8.1"
},
"__metadata": {
"id": "8a8e3e61-d49b-47f8-b98f-b7169d624b29",
"publisherId": "c10ae63a-fcd5-41d7-a94f-f0cebd0bcb1c",
"publisherDisplayName": "Jared Forsyth"
}
}
}
Empty file modified extensions/reason-vscode/script/syntax.js
100644 → 100755
Empty file.
18 changes: 18 additions & 0 deletions extensions/reason-vscode/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,24 @@ function activate(context) {

vscode.commands.registerCommand('reason-language-server.show_ppxed_source', showPpxedSource);

vscode.commands.registerCommand('reason-language-server.dump_file_data', () => {
if (!client) {
return vscode.window.showInformationMessage('Language server not running');
}
const editor = vscode.window.activeTextEditor;
if (!editor) {
return vscode.window.showInformationMessage('No active editor');
}
if (editor.document.languageId !== 'ocaml' && editor.document.languageId !== 'reason') {
return vscode.window.showInformationMessage('Not an OCaml or Reason file');
}
client.sendRequest("custom:reasonLanguageServer/dumpFileData", {
"textDocument": {
"uri": editor.document.uri.with({scheme: 'file'}).toString(),
},
})
});

const showAst = () => {
if (!client) {
return vscode.window.showInformationMessage('Language server not running');
Expand Down
36 changes: 0 additions & 36 deletions extensions/reason-vscode/src/syntaxes/tsconfig.json

This file was deleted.

Binary file modified vendor/reason-language-server/bin.native
Binary file not shown.
Binary file modified vendor/reason-language-server/bin.native.exe
Binary file not shown.
Binary file modified vendor/reason-language-server/bin.native.linux
Binary file not shown.

0 comments on commit b058845

Please sign in to comment.