Skip to content

Commit

Permalink
change building process
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-re committed Jun 11, 2018
1 parent cb35dd0 commit 9a42c66
Show file tree
Hide file tree
Showing 15 changed files with 974 additions and 1,773 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ client/server

server.log
**/*/*.log
server/dist
out
13 changes: 3 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,25 @@
{
"version": "0.2.0",
// List of configurations. Add new configurations or edit existing ones.
"configurations": [
{
"name": "Launch Client",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceRoot}/client"
"--extensionDevelopmentPath=${workspaceRoot}"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/client/out/**/*.js"
],
"preLaunchTask": "watch:client"
"outFiles": ["${workspaceRoot}/out/**/*.js"]
},
{
"name": "Attach to Server",
"type": "node",
"request": "attach",
"port": 6009,
"sourceMaps": true,
"outFiles": [
"${workspaceRoot}/client/server/**/*.js"
],
"preLaunchTask": "watch:server"
"outFiles": ["${workspaceRoot}/server/dist/**/*.js"]
}
]
}
2 changes: 0 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
// set to false to hide directory from the VS Code Document Sidebar
"files.exclude": {
"client/out/**/*": false,
"client/server/**/*": false,
"client/node_modules": false,
"server/node_modules": false
},
// set this to false to include "out" folder in search results
"search.exclude": {
"out": true
},
Expand Down
79 changes: 0 additions & 79 deletions .vscode/tasks.json

This file was deleted.

3 changes: 1 addition & 2 deletions client/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { workspace, ExtensionContext } from 'vscode';
import { LanguageClient, LanguageClientOptions, ServerOptions, TransportKind } from 'vscode-languageclient';

export function activate(context: ExtensionContext) {

let serverModule = context.asAbsolutePath(path.join('server', 'server.js'));
let serverModule = context.asAbsolutePath(path.join('server', 'dist', 'server.js'));
let debugOptions = { execArgv: ["--nolazy", "--inspect=6009"] };

let serverOptions: ServerOptions = {
Expand Down
33 changes: 0 additions & 33 deletions client/package.json

This file was deleted.

19 changes: 0 additions & 19 deletions client/tsconfig.json

This file was deleted.

Loading

0 comments on commit 9a42c66

Please sign in to comment.