From 8c8f7fc01df183e14569d4cffa07153cafa5c6ae Mon Sep 17 00:00:00 2001 From: shipengcheng1230 Date: Thu, 4 Nov 2021 10:26:13 -0400 Subject: [PATCH] fix typos --- .gitignore | 1 + Project.toml | 2 +- deps/build.jl | 2 +- docs/src/index.md | 2 +- src/GmshTools.jl | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index a64ecf7..fea448f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ docs/src/examples/generated Manifest.toml *.msh +.vscode \ No newline at end of file diff --git a/Project.toml b/Project.toml index 9a803e0..c818867 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "GmshTools" uuid = "82e2f556-b1bd-5f1a-9576-f93c0da5f0ee" authors = ["Pengcheng Shi"] -version = "0.5.0" +version = "0.5.1" [deps] Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb" diff --git a/deps/build.jl b/deps/build.jl index fcecf3e..e6bc1a9 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -19,7 +19,7 @@ else end GMSH_FOUND = false -if gmsh_root != nothing +if gmsh_root !== nothing gmsh_bin = (Sys.iswindows() ? joinpath(gmsh_root,"bin","gmsh.exe") : joinpath(gmsh_root,"bin","gmsh")) if isfile(gmsh_bin) diff --git a/docs/src/index.md b/docs/src/index.md index 7ecc179..7f9f525 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -11,7 +11,7 @@ ```julia using Pkg -julia> ENV["GMSH_LIB_PATH"] = "/opt/gmsh/lib64"; # here is your `libgmsh.so` or `gmsh.dll` +julia> ENV["GMSHROOT"] = "/opt/gmsh"; # here is your root directory of Gmsh SDK julia> Pkg.build("GmshTools") ``` diff --git a/src/GmshTools.jl b/src/GmshTools.jl index 558f2f1..0cf9ee9 100644 --- a/src/GmshTools.jl +++ b/src/GmshTools.jl @@ -6,7 +6,7 @@ deps_jl = joinpath(@__DIR__, "..", "deps", "deps.jl") if !isfile(deps_jl) s = """ Package GmshTools not installed properly. - Run Pkg.build(\"GridapGmsh\"), restart Julia and try again. + Run Pkg.build(\"GmshTools\"), restart Julia and try again. """ error(s) end