hoovercj / vscode-ghc-mod

An extension to bring ghc-mod to vs code
MIT License
31 stars 13 forks source link

`client/server` path must exist #26

Closed cblp closed 8 years ago

cblp commented 8 years ago

fixes #24

hoovercj commented 8 years ago

I don't believe this is the correct solution as it will add the compiled server to the git repo. The correct solution is to build it locally on its own (and improve the README) and/or to improve the build scripts.

cblp commented 8 years ago

Okay, I don't understand what "compiled server" is. I'm looking forward clearer instructions.

hoovercj commented 8 years ago

This is a typescript project so it must be compiled to JavaScript. The server folder has a build script that will compile it into the out/ directory in the client folder so that it may be used by the client.

Opening the server folder in vs code and using the build command from the command palette (maybe also ctrl+shift+B) should do this.

cblp commented 8 years ago

Is it the simplest way? Is there a command like npm build?

cblp commented 8 years ago

Looks like

$ cd server
$ npm install
$ tsc

do the job.

cblp commented 8 years ago

tsc without arguments should build a project according to http://www.typescriptlang.org/docs/handbook/tsconfig-json.html

cblp commented 8 years ago

No sense.