Skip to content

Commit b941046

Browse files
authored
Remove the @git_cmd macro (#34)
* Delete git_cmd_macro.jl * Update Git.jl * Update runtests.jl * Update Project.toml
1 parent 8d7a1f6 commit b941046

File tree

4 files changed

+1
-25
lines changed

4 files changed

+1
-25
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Git"
22
uuid = "d7ba0133-e1db-5d97-8f8c-041e4b3a1eb2"
33
authors = ["Dilum Aluthge", "contributors"]
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[deps]
77
Git_jll = "f8c6e375-362e-5223-8a59-34ff63f689eb"

src/Git.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ import Git_jll
55
export git
66

77
include("git_function.jl")
8-
include("git_cmd_macro.jl")
98

109
end # module

src/git_cmd_macro.jl

Lines changed: 0 additions & 10 deletions
This file was deleted.

test/runtests.jl

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,6 @@ end
3434
@test isdir("Git.jl")
3535
@test isfile(joinpath("Git.jl", "Project.toml"))
3636
end
37-
38-
withtempdir() do tmp_dir
39-
@test !isdir("Git.jl")
40-
@test !isfile(joinpath("Git.jl", "Project.toml"))
41-
cmd = Git.git`clone https://github.com/JuliaVersionControl/Git.jl`
42-
@test cmd isa Cmd
43-
@test !isdir("Git.jl")
44-
@test !isfile(joinpath("Git.jl", "Project.toml"))
45-
run(cmd)
46-
@test isdir("Git.jl")
47-
@test isfile(joinpath("Git.jl", "Project.toml"))
48-
end
49-
5037
end
5138

5239
@testset "Safety" begin

0 commit comments

Comments
 (0)