Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix compilation #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
mads-hartmann merged 3 commits into bash-lsp:master from skovhus:fix-build
Apr 1, 2018
Merged

Fix compilation #15

mads-hartmann merged 3 commits into bash-lsp:master from skovhus:fix-build
Apr 1, 2018

Conversation

Copy link
Collaborator

@skovhus skovhus commented Apr 1, 2018

When introducing the integration tests (#14) I broke the build.

The TypeScript compilers output path depends magically on the files in the source directory. So when introducing new test setup files, the compilation path was suddenly server/out/server/server.js instead of server/out/server.js.

The main problem here is that we don't clean the compilation directories... As I tested that it worked after introducing integration tests, but the old files were still in my local copy of out.

This PR:

  • fixes the build
  • introduces cleaning before building
  • adds a convenience method for working on the server (compile and reinstall)

@@ -14,6 +14,9 @@
"sourceMap": true
},
"exclude": [
"node_modules"
"node_modules",
"**/__tests__/*",
Copy link
Collaborator Author

@skovhus skovhus Apr 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By adding these the compilation path is as before server/out/server.js

Copy link
Collaborator Author

skovhus commented Apr 1, 2018

Copy link
Collaborator

@skovhus Awesome, I love the reinstall-server improvement to the workflow 👍

@mads-hartmann mads-hartmann merged commit 650ceef into bash-lsp:master Apr 1, 2018
@skovhus skovhus deleted the fix-build branch April 1, 2018 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /