Skip to content

Commit

Permalink
Append --locked to cargo build invocations in nsis-plugin projects
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Jan 24, 2025
1 parent 000851b commit 6366691
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions windows/nsis-plugins/src/cleanup/cleanup.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<ModuleDefinitionFile>cleanup.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
<Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis }"
<Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release --locked -p mullvad-nsis }"
</Command>
<Message>Build mullvad-nsis library</Message>
</PreBuildEvent>
Expand Down Expand Up @@ -106,7 +106,7 @@
<ModuleDefinitionFile>cleanup.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
<Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis }"
<Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release --locked -p mullvad-nsis }"
</Command>
<Message>Build mullvad-nsis library</Message>
</PreBuildEvent>
Expand Down
4 changes: 2 additions & 2 deletions windows/nsis-plugins/src/log/log.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<ModuleDefinitionFile>log.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
<Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis }"
<Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release --locked -p mullvad-nsis }"
</Command>
<Message>Build mullvad-nsis library</Message>
</PreBuildEvent>
Expand Down Expand Up @@ -106,7 +106,7 @@
<ModuleDefinitionFile>log.def</ModuleDefinitionFile>
</Link>
<PreBuildEvent>
<Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release -p mullvad-nsis }"
<Command>powershell.exe -Command "&amp; { Remove-Item Env:VSTEL_MSBuildProjectFullPath; cargo build --target i686-pc-windows-msvc --release --locked -p mullvad-nsis }"
</Command>
<Message>Build mullvad-nsis library</Message>
</PreBuildEvent>
Expand Down

0 comments on commit 6366691

Please sign in to comment.