Created
February 10, 2015 10:57
-
-
Save rahmathm1/76d9b800ba71c07e024b to your computer and use it in GitHub Desktop.
MSBuild command for copying linked TypeScript files on build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project> | |
... | |
<Target Name="CopyLinkedTSFiles" BeforeTargets="Build"> | |
<Copy SourceFiles="%(TypeScriptCompile.Identity)" | |
DestinationFiles="%(TypeScriptCompile.Link)" | |
SkipUnchangedFiles='true' | |
OverwriteReadOnlyFiles='true' | |
Condition="'%(TypeScriptCompile.Link)' != ''" /> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment