Merge pull request #325 from er1c/robocopy-silent

Make robocopy output silent in sbt.bat to match bash bootstrap copy output
This commit is contained in:
eugene yokota 2020-06-27 17:40:43 -04:00 committed by GitHub
commit 7d75936b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,6 +1,8 @@
/SbtTemplateProject.scala
target
/project/boot
/project/metals.sbt
/.metals
/project/plugins
lib_managed
src_managed

View File

@ -819,7 +819,7 @@ if /I !JAVA_VERSION! GEQ 8 (
if %ERRORLEVEL% EQU 0 (
if not exist !PRELOAD_SBT_JAR! (
if exist "!SBT_HOME!\lib\local-preloaded\" (
robocopy "!SBT_HOME!\lib\local-preloaded" "%UserProfile%\.sbt\preloaded" /E
robocopy "!SBT_HOME!\lib\local-preloaded" "%UserProfile%\.sbt\preloaded" /E >nul 2>nul
)
)
)