mirror of
https://github.com/open-goal/opengoal-vscode.git
synced 2024-10-19 20:47:37 -04:00
dist: ensure node_modules are included with extension until it's bundled properly
This commit is contained in:
parent
a4683d2e82
commit
7af5081dfc
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -41,4 +41,4 @@ jobs:
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.BOT_PAT }}
|
GITHUB_TOKEN: ${{ secrets.BOT_PAT }}
|
||||||
run: gh release create --generate-notes --repo open-goal/opengoal-vscode
|
run: gh release create --generate-notes --repo open-goal/opengoal-vscode ./*.vsix
|
||||||
|
|
|
@ -15,3 +15,4 @@
|
||||||
!README.md
|
!README.md
|
||||||
!LICENSE
|
!LICENSE
|
||||||
!src/vendor/**/LICENSE
|
!src/vendor/**/LICENSE
|
||||||
|
!node_modules/**
|
||||||
|
|
|
@ -11,7 +11,10 @@ import { initContext } from "./context";
|
||||||
import { IRFoldingRangeProvider } from "./languages/ir2-folder";
|
import { IRFoldingRangeProvider } from "./languages/ir2-folder";
|
||||||
import { activateTypeCastTools } from "./decomp/type-caster";
|
import { activateTypeCastTools } from "./decomp/type-caster";
|
||||||
|
|
||||||
|
const channel = vscode.window.createOutputChannel("OpenGOAL");
|
||||||
|
|
||||||
export async function activate(context: vscode.ExtensionContext) {
|
export async function activate(context: vscode.ExtensionContext) {
|
||||||
|
try {
|
||||||
// Init Context
|
// Init Context
|
||||||
initContext(context);
|
initContext(context);
|
||||||
|
|
||||||
|
@ -57,6 +60,9 @@ export async function activate(context: vscode.ExtensionContext) {
|
||||||
|
|
||||||
// Start the LSP
|
// Start the LSP
|
||||||
lsp.activate(context);
|
lsp.activate(context);
|
||||||
|
} catch (err) {
|
||||||
|
channel.append(`Failed to activate extension - ${err}`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export function deactivate(): Promise<void> | undefined {
|
export function deactivate(): Promise<void> | undefined {
|
||||||
|
|
Loading…
Reference in a new issue