Skip to content
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

Modified 'isTargetRelativePathBasedOnSource' algorithm to use TypeScr… #86

Merged
merged 1 commit into from
Nov 2, 2015

Conversation

RasPelikan
Copy link
Contributor

…ipt 1.5 feature 'rootDir'

We experienced a broken output. We use "relative paths" and at some circumstances (it seems at random, but reproduce-able) the output directories were mixed up. After a little bit of google-ing I found this bug-report: microsoft/TypeScript#812. The issue was solved by this pull-request: microsoft/TypeScript#2772. It was solved by adding a new parameter "rootDir" which can be used for building output-paths as relative paths based on this root directory under which the files to be compiled are placed. As this matches the typecs-plugin's feature 'Set relative path from target directory to output file based on relative path from source directory to input file' I re-factored this feature to use the new "rootDir" parameter instead of calculating the relative path by the plugin. This fixed our broken output.

p-kudrin added a commit that referenced this pull request Nov 2, 2015
Modified 'isTargetRelativePathBasedOnSource' algorithm to use TypeScr…
@p-kudrin p-kudrin merged commit 46bee9b into axmor:master Nov 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants