This repository was archived by the owner on Mar 26, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +7
-13
lines changed Expand file tree Collapse file tree 6 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 11name = " GitCommand"
22uuid = " 49b5b516-ca3f-4003-a081-42bdcf55082d"
33authors = [" Dilum Aluthge" , " Brown Center for Biomedical Informatics" ]
4- version = " 0.1.2 "
4+ version = " 0.2.0 "
55
66[deps ]
77Git_jll = " f8c6e375-362e-5223-8a59-34ff63f689eb"
Original file line number Diff line number Diff line change @@ -25,9 +25,3 @@ git() do git
2525 run (` $git clone https://github.com/JuliaRegistries/General` )
2626end
2727```
28-
29- ``` julia
30- using GitCommand
31-
32- run (git ` clone https://github.com/JuliaRegistries/General` )
33- ```
Original file line number Diff line number Diff line change @@ -3,10 +3,11 @@ module GitCommand
33import Git_jll
44
55export git
6- export @git_cmd
6+ # export @git_cmd
77
88include (" env_mapping.jl" )
99include (" git_cmd.jl" )
10+ include (" nonpublic.jl" )
1011include (" public.jl" )
1112include (" util.jl" )
1213
Original file line number Diff line number Diff line change 1+ macro git_cmd (ex)
2+ return _git_cmd (ex)
3+ end
Original file line number Diff line number Diff line change 1- macro git_cmd (ex)
2- return _git_cmd (ex)
3- end
4-
51function git (f:: Function ;
62 adjust_PATH:: Bool = true ,
73 adjust_LIBPATH:: Bool = true )
Original file line number Diff line number Diff line change 3030 with_temp_dir () do tmp_dir
3131 @test ! isdir (" General" )
3232 @test ! isfile (joinpath (" General" , " Registry.toml" ))
33- cmd = git ` clone https://github.com/JuliaRegistries/General`
33+ cmd = GitCommand . git ` clone https://github.com/JuliaRegistries/General`
3434 @test cmd isa Cmd
3535 run (cmd)
3636 @test isdir (" General" )
You can’t perform that action at this time.
0 commit comments