commit 94c63541eebe18dcb5915c8cd1dcbeae2d576b7b
parent 58d2643f7f6bcd6849152cb030481aefa724e57a
Author: Anders Damsgaard <andersd@riseup.net>
Date: Mon, 1 May 2017 22:24:23 -0400
launch checksum command in powershell on windows
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/test/vtk.jl b/test/vtk.jl
@@ -15,6 +15,8 @@ if Base.is_linux()
cmd = "sha256sum"
elseif Base.is_apple()
cmd = ["shasum", "-a", "256"]
+elseif Base.is_windows()
+ cmd = ["powershell", "-Command", "\"Get-FileHash", "-Algorithm", "SHA256\""]
else
error("checksum verification of VTK file not supported on this platform")
end