Skip to content

Commit

Permalink
trigger rebuilds by changes to arbitrary files
Browse files Browse the repository at this point in the history
This makes PhalangerCompilerTarget depend on $(MSBuildAllProjects),
so if you add any files to it it will trigger the rebuild.

Useful when you want to trigger the rebuild when your .phpproj file
changes.
  • Loading branch information
weirdan committed Jan 7, 2016
1 parent e13ea87 commit 15dd1ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Phalanger.CompilerTask/Phalanger.targets
Expand Up @@ -26,7 +26,7 @@

<!--Compile target (this is the target that calls the compiler task)-->
<Target Name="PhalangerCompilerTarget"
Inputs="@(Compile);@(ReferencePath);@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile);@(Content)"
Inputs="$(MSBuildAllProjects);@(Compile);@(ReferencePath);@(ManifestResourceWithNoCulture);@(ManifestNonResxWithNoCultureOnDisk);@(CompiledLicenseFile);@(Content)"
Outputs="@(IntermediateAssembly)">
<Message Text="Building: @(IntermediateAssembly)" />
<PhalangerCompilerTask
Expand Down Expand Up @@ -131,4 +131,4 @@
</CreateCSharpManifestResourceName>
</Target>

</Project>
</Project>

0 comments on commit 15dd1ec

Please sign in to comment.