Last active
August 29, 2015 13:56
-
-
Save bernos/9110283 to your computer and use it in GitHub Desktop.
MSBuild Templify AfterBuild target example
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
<!-- Once built, templates belong in %HOMEDIR%\AppData\Roaming\endjin\Templify\repo --> | |
<Target Name="AfterBuild"> | |
<Message Text="---------------"/> | |
<Message Text="TEMPLIFY"/> | |
<Message Text="---------------"/> | |
<PropertyGroup> | |
<TemplifyMode>c</TemplifyMode> | |
<TemplifyPath>"$(MSBuildProjectDirectory)\..\..\TemplifyMsBuildExample"</TemplifyPath> | |
<TemplifyPackageName>"Templify MS Build Example"</TemplifyPackageName> | |
<TemplifyPackageAuthor>"Brendan McMahon"</TemplifyPackageAuthor> | |
<TemplifyPackageVersion>"1.0.0"</TemplifyPackageVersion> | |
<TemplifyPackageTokens>"TemplifyMsBuildExample=__NAME__"</TemplifyPackageTokens> | |
<TemplifyPackageRepositoryPath>"$(MSBuildProjectDirectory)\..\..\TemplifyMsBuildExample"</TemplifyPackageRepositoryPath> | |
<TemplifyArgs>-m $(TemplifyMode) -p $(TemplifyPath) -n $(TemplifyPackageName) -a $(TemplifyPackageAuthor) -v $(TemplifyPackageVersion) -t $(TemplifyPackageTokens) -r $(TemplifyPackageRepositoryPath)</TemplifyArgs> | |
</PropertyGroup> | |
<Exec Command=""$(ProgramFiles)\endjin\Templify\Framework\TemplifyCmd.exe" $(TemplifyArgs)" | |
ContinueOnError="false"/> | |
</Target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment