1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

Add npm install call if node_modules doesn't exist

This commit is contained in:
Starbeamrainbowlabs 2017-11-14 18:43:09 +00:00
parent 1ba7c3650f
commit cb804b960d

View file

@ -64,6 +64,9 @@
<Message Importance="high" Text="------[ Gliding Squirrel ]------" /> <Message Importance="high" Text="------[ Gliding Squirrel ]------" />
<MSBuild Projects="$(ProjectDir)/lib/GlidingSquirrel/GlidingSquirrel/GlidingSquirrel.csproj" Properties="Configuration=$(Configuration)" /> <MSBuild Projects="$(ProjectDir)/lib/GlidingSquirrel/GlidingSquirrel/GlidingSquirrel.csproj" Properties="Configuration=$(Configuration)" />
<Message Importance="high" Text="----------[ npm build ]----------" /> <Message Importance="high" Text="----------[ npm build ]----------" />
<Exec WorkingDirectory="$(ProjectDir)/ClientFiles" Condition="!Exists('node_modules/')" Command="npm install" />
<Exec WorkingDirectory="$(ProjectDir)/ClientFiles" Command="npm run build" /> <Exec WorkingDirectory="$(ProjectDir)/ClientFiles" Command="npm run build" />
<Message Importance="high" Text="---[ additional client files ]---" /> <Message Importance="high" Text="---[ additional client files ]---" />