Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

feat(filesystem): Apply basePath to relative input TS files and library names #320

Merged
merged 1 commit into from
Dec 21, 2015

Conversation

vikerman
Copy link
Contributor

Doesn't change module file name resolution

…even when they are relative. Doesn't change module file name resolution
@vikerman
Copy link
Contributor Author

Tested with angular/angular that the code generated with and without the change are the same.

@alexeagle
Copy link
Contributor

This is okay with me, but it really needs some tests that fail before the change. Can we find the right fixture for a test that reproduces the path problems? I'm imagining a test that lays out a temp directory that looks similar to the google3 scenario, and maybe another that's layed out like angular/angular, and asserts that the program can run on trivially simple inputs.

We could do that in a follow-up change so we're not blocked on google3/ts2dart.

@alexeagle
Copy link
Contributor

LGTM

@vikerman vikerman merged commit 9e22db2 into dart-archive:master Dec 21, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants