Skip to content

Commit

Permalink
Remove the @git_cmd macro (#34)
Browse files Browse the repository at this point in the history
* Delete git_cmd_macro.jl

* Update Git.jl

* Update runtests.jl

* Update Project.toml
  • Loading branch information
DilumAluthge authored Mar 24, 2021
1 parent 8d7a1f6 commit b941046
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 0 additions & 1 deletion src/Git.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ import Git_jll
export git

include("git_function.jl")
include("git_cmd_macro.jl")

end # module
10 changes: 0 additions & 10 deletions src/git_cmd_macro.jl

This file was deleted.

13 changes: 0 additions & 13 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit b941046

@DilumAluthge
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/32733

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.1.0 -m "<description of version>" b94104652401f2cd8a962386953915bbaa6fedee
git push origin v1.1.0

Please sign in to comment.