Fixed /etc/init.d/ deployment in post-build scripts; creates dir if not exist
This commit is contained in:
@@ -109,7 +109,9 @@
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>copy ..\..\etcinitd\swarmops-backend etcinitd</PostBuildEvent>
|
||||
<PostBuildEvent>if not exist etcinitd\. mkdir etcinitd
|
||||
copy ..\..\etcinitd\swarmops-backend etcinitd
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
||||
Reference in New Issue
Block a user