From fa4fc8ce7b911431708ca7adcc5b95eff0744602 Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Thu, 10 Oct 2019 20:26:22 +0300 Subject: [PATCH] Remove some unnecessary dependencies --- Project.toml | 6 ++++++ src/AsterReader.jl | 2 +- test/test_read_aster_mesh.jl | 2 +- test/test_read_aster_results.jl | 2 +- test/test_read_gmsh_med.jl | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index 69140c1..6b1dfa2 100644 --- a/Project.toml +++ b/Project.toml @@ -8,3 +8,9 @@ HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f" [compat] julia = "≥ 1.0" + +[extras] +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[targets] +test = ["Test"] diff --git a/src/AsterReader.jl b/src/AsterReader.jl index fd526e1..c22e02c 100644 --- a/src/AsterReader.jl +++ b/src/AsterReader.jl @@ -3,7 +3,7 @@ module AsterReader -using FEMBase, HDF5, LinearAlgebra, SparseArrays +using HDF5 """ parse_node_id(node_name) diff --git a/test/test_read_aster_mesh.jl b/test/test_read_aster_mesh.jl index cb542ea..61229d0 100644 --- a/test/test_read_aster_mesh.jl +++ b/test/test_read_aster_mesh.jl @@ -1,7 +1,7 @@ # This file is a part of JuliaFEM. # License is MIT: see https://github.com/JuliaFEM/AsterReader.jl/blob/master/LICENSE -using FEMBase, Test, AsterReader +using Test, AsterReader using AsterReader: aster_parse_nodes, aster_read_mesh, MEDFile, get_element_sets datadir = first(splitext(basename(@__FILE__))) diff --git a/test/test_read_aster_results.jl b/test/test_read_aster_results.jl index 1958346..c5f34b6 100644 --- a/test/test_read_aster_results.jl +++ b/test/test_read_aster_results.jl @@ -1,7 +1,7 @@ # This file is a part of JuliaFEM. # License is MIT: see https://github.com/JuliaFEM/AsterReader.jl/blob/master/LICENSE -using FEMBase, AsterReader, Test +using AsterReader, Test using AsterReader: RMEDFile, aster_read_data datadir = first(splitext(basename(@__FILE__))) diff --git a/test/test_read_gmsh_med.jl b/test/test_read_gmsh_med.jl index 1b8c3c7..6c813f4 100644 --- a/test/test_read_gmsh_med.jl +++ b/test/test_read_gmsh_med.jl @@ -1,7 +1,7 @@ # This file is a part of JuliaFEM. # License is MIT: see https://github.com/JuliaFEM/AsterReader.jl/blob/master/LICENSE -using FEMBase, Test, AsterReader +using Test, AsterReader using AsterReader: aster_parse_nodes, aster_read_mesh, MEDFile, get_element_sets datadir = first(splitext(basename(@__FILE__)))