Skip to content

Commit

Permalink
Conditionally turn echo on
Browse files Browse the repository at this point in the history
Most of the time when running our build scripts we want echo to be off to limit useless output. This commit allows us to keep it off by default, and turn it on when we need it by defining the "EchoOn" variable.
  • Loading branch information
tmeschter committed Nov 18, 2016
1 parent d5fb6fd commit 340e583
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Restore.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@echo off
@if not defined EchoOn @echo off
@setlocal enabledelayedexpansion

set RoslynRoot=%~dp0
Expand Down
2 changes: 1 addition & 1 deletion SetDevCommandPrompt.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@echo off
@if not defined EchoOn @echo off

:: Prefer building with Dev15 and try the simple route first (we may be running from a DevCmdPrompt already)
set CommonToolsDir=%VS150COMNTOOLS%
Expand Down

0 comments on commit 340e583

Please sign in to comment.