diff --git a/Project.toml b/Project.toml index aca2ad2..e7e80cd 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Git" uuid = "d7ba0133-e1db-5d97-8f8c-041e4b3a1eb2" authors = ["Dilum Aluthge", "contributors"] -version = "1.0.0" +version = "1.1.0" [deps] Git_jll = "f8c6e375-362e-5223-8a59-34ff63f689eb" diff --git a/src/Git.jl b/src/Git.jl index d81ef82..04ab263 100644 --- a/src/Git.jl +++ b/src/Git.jl @@ -5,6 +5,5 @@ import Git_jll export git include("git_function.jl") -include("git_cmd_macro.jl") end # module diff --git a/src/git_cmd_macro.jl b/src/git_cmd_macro.jl deleted file mode 100644 index 8df17b7..0000000 --- a/src/git_cmd_macro.jl +++ /dev/null @@ -1,10 +0,0 @@ -function _git_cmd(str::AbstractString; - adjust_PATH::Bool = true, - adjust_LIBPATH::Bool = true) - cmd = git(; adjust_PATH, adjust_LIBPATH) - return `$(cmd) $(split(str))` -end - -macro git_cmd(ex) - return _git_cmd(ex) -end diff --git a/test/runtests.jl b/test/runtests.jl index 30b0f29..dcd740f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -34,19 +34,6 @@ end @test isdir("Git.jl") @test isfile(joinpath("Git.jl", "Project.toml")) end - - withtempdir() do tmp_dir - @test !isdir("Git.jl") - @test !isfile(joinpath("Git.jl", "Project.toml")) - cmd = Git.git`clone https://github.com/JuliaVersionControl/Git.jl` - @test cmd isa Cmd - @test !isdir("Git.jl") - @test !isfile(joinpath("Git.jl", "Project.toml")) - run(cmd) - @test isdir("Git.jl") - @test isfile(joinpath("Git.jl", "Project.toml")) - end - end @testset "Safety" begin