1
0
Fork 0
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:
Starbeamrainbowlabs 2017-12-08 23:28:47 +00:00
parent 84b2c83fe6
commit d7c01b725a
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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>