From ea06301ed13b49e9ce633e43a702ad70e8eb95d2 Mon Sep 17 00:00:00 2001 From: gaelforget Date: Sun, 15 Nov 2020 18:41:48 -0500 Subject: [PATCH 1/2] add osx and windows to CI --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6bd4af8..3ee079f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ language: julia os: - linux + - osx + - windows julia: - 1.3 - nightly From 808ea5112cc3253b3a776bb4f3f1ce52e4ab3fb8 Mon Sep 17 00:00:00 2001 From: gaelforget Date: Sun, 15 Nov 2020 19:29:49 -0500 Subject: [PATCH 2/2] replace mv and bump version --- Project.toml | 2 +- src/OceanStateEstimation.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 6ffa6a1..c7e2cd9 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "OceanStateEstimation" uuid = "891f6deb-a4f5-4bc5-a2e3-1e8f649cdd2c" authors = ["gaelforget "] -version = "0.1.6" +version = "0.1.7" [deps] FortranFiles = "c58ffaec-ab22-586d-bfc5-781a99fd0b10" diff --git a/src/OceanStateEstimation.jl b/src/OceanStateEstimation.jl index 7ba8005..fd88562 100644 --- a/src/OceanStateEstimation.jl +++ b/src/OceanStateEstimation.jl @@ -32,9 +32,9 @@ function get_from_dataverse(lst::String,nam::String,pth::String) ii = findall([occursin("$nam", lists.name[i]) for i=1:length(lists.ID)]) !isdir("$pth"*"$nam") ? mkdir("$pth"*"$nam") : nothing for i in ii - nam1=download(lists.URL[i]); + nam1=download(lists.URL[i]) nam2=joinpath("$pth"*"$nam/",lists.name[i]) - run(`mv $nam1 $nam2`); + mv(nam1,nam2) end end