Created
October 29, 2013 07:58
-
-
Save meganehouser/7210627 to your computer and use it in GitHub Desktop.
WindowsでWatchDogを使って、.csファイルを監視。
C#プロジェクトの自動ビルド、ユニットテストを行う。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nunit_dir=(NUnitのインストールフォルダ) | |
set msbuild_dir=c:\Windows\Microsoft.NET\Framework\v4.0.30319 | |
set target=(csprojのパス) | |
set testdll=(テストプロジェクトのDLLのパス) | |
watchmedo shell-command --patterns="*.cs" --recursive --wait --command="%msbuild_dir%\MSBuild.exe %target% & %nunit_dir%\nunit-console.exe %testdll% /nologo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment