tlaunch checksum command in powershell on windows - Granular.jl - Julia package… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 94c63541eebe18dcb5915c8cd1dcbeae2d576b7b | |
parent 58d2643f7f6bcd6849152cb030481aefa724e57a | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 1 May 2017 22:24:23 -0400 | |
launch checksum command in powershell on windows | |
Diffstat: | |
M test/vtk.jl | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/test/vtk.jl b/test/vtk.jl | |
t@@ -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 |