Skip to content

Commit

Permalink
Add a batch file for easier testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tevador committed Nov 30, 2019
1 parent 1a3a1dd commit 8402301
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/randomx-sniffer.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off
cd /d "%~dp0"
randomx-sniffer.exe -samples 5 -wait 50 -threshold 2
pause
5 changes: 5 additions & 0 deletions src/randomx-sniffer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@
<ClInclude Include="process_list.h" />
<ClInclude Include="thread.h" />
</ItemGroup>
<ItemGroup>
<CopyFileToFolders Include="randomx-sniffer.bat">
<FileType>Document</FileType>
</CopyFileToFolders>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
5 changes: 5 additions & 0 deletions src/randomx-sniffer.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,9 @@
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<CopyFileToFolders Include="randomx-sniffer.bat">
<Filter>Source Files</Filter>
</CopyFileToFolders>
</ItemGroup>
</Project>

0 comments on commit 8402301

Please sign in to comment.