mirror of
https://github.com/sbrl/Nibriboard.git
synced 2018-01-10 21:33:49 +00:00
Try to delete node_modules on clean, but it's not working yet.
This commit is contained in:
parent
84b2c83fe6
commit
d7c01b725a
1 changed files with 7 additions and 2 deletions
|
@ -58,7 +58,7 @@
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
<Exec IgnoreExitCode="true" WorkingDirectory="$(SolutionDir)" Command="git submodule update --init" />
|
<Exec IgnoreExitCode="true" WorkingDirectory="$(ProjectDir)" Command="git submodule update --init" />
|
||||||
<MakeDir Directories="$(ProjectDir)/obj/client_dist" />
|
<MakeDir Directories="$(ProjectDir)/obj/client_dist" />
|
||||||
|
|
||||||
<Message Importance="high" Text="------[ Gliding Squirrel ]------" />
|
<Message Importance="high" Text="------[ Gliding Squirrel ]------" />
|
||||||
|
@ -78,9 +78,14 @@
|
||||||
<Copy SourceFiles="@(StaticClientFiles)" DestinationFolder="$(ProjectDir)/obj/client_dist/%(RecursiveDir)" />
|
<Copy SourceFiles="@(StaticClientFiles)" DestinationFolder="$(ProjectDir)/obj/client_dist/%(RecursiveDir)" />
|
||||||
|
|
||||||
<Message Importance="high" Text="Generating embedded resource directives" />
|
<Message Importance="high" Text="Generating embedded resource directives" />
|
||||||
<CreateItem Include="$(ProjectDir)/obj/client_dist/**/*.*">
|
<CreateItem Include="$(ProjectDir)/obj/client_dist/**">
|
||||||
<Output ItemName="EmbeddedResource" TaskParameter="Include" />
|
<Output ItemName="EmbeddedResource" TaskParameter="Include" />
|
||||||
</CreateItem>
|
</CreateItem>
|
||||||
|
|
||||||
|
<!-- todo: try a RemoveDir in a Before/After Clean -->
|
||||||
|
<ItemGroup>
|
||||||
|
<FileWrites Include="$(ProjectDir)/ClientFiles/node_modules/**/*" />
|
||||||
|
</ItemGroup>
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue