File tree Expand file tree Collapse file tree 8 files changed +34
-34
lines changed
Expand file tree Collapse file tree 8 files changed +34
-34
lines changed Original file line number Diff line number Diff line change 6969 - run : |
7070 julia --project=docs -e '
7171 using Documenter: DocMeta, doctest
72- using GitRepl
73- DocMeta.setdocmeta!(GitRepl , :DocTestSetup, :(using GitRepl ); recursive=true)
74- doctest(GitRepl )'
72+ using GitREPL
73+ DocMeta.setdocmeta!(GitREPL , :DocTestSetup, :(using GitREPL ); recursive=true)
74+ doctest(GitREPL )'
7575 - run : julia --project=docs docs/make.jl
7676 env :
7777 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1- name = " GitRepl "
1+ name = " GitREPL "
22uuid = " 86bc0129-654e-4751-9b96-b173469afcbd"
33authors = [" Dilum Aluthge" , " contributors" ]
44version = " 1.0.0"
Original file line number Diff line number Diff line change 1- # GitRepl
1+ # GitREPL
22
3- [ ![ Stable] ( https://img.shields.io/badge/docs-stable-blue.svg )] ( https://JuliaVersionControl.github.io/GitRepl .jl/stable )
4- [ ![ Dev] ( https://img.shields.io/badge/docs-dev-blue.svg )] ( https://JuliaVersionControl.github.io/GitRepl .jl/dev )
5- [ ![ Build Status] ( https://github.com/JuliaVersionControl/GitRepl .jl/workflows/CI/badge.svg )] ( https://github.com/JuliaVersionControl/GitRepl .jl/actions )
6- [ ![ Coverage] ( https://codecov.io/gh/JuliaVersionControl/GitRepl .jl/branch/main/graph/badge.svg )] ( https://codecov.io/gh/JuliaVersionControl/GitRepl .jl )
3+ [ ![ Stable] ( https://img.shields.io/badge/docs-stable-blue.svg )] ( https://JuliaVersionControl.github.io/GitREPL .jl/stable )
4+ [ ![ Dev] ( https://img.shields.io/badge/docs-dev-blue.svg )] ( https://JuliaVersionControl.github.io/GitREPL .jl/dev )
5+ [ ![ Build Status] ( https://github.com/JuliaVersionControl/GitREPL .jl/workflows/CI/badge.svg )] ( https://github.com/JuliaVersionControl/GitREPL .jl/actions )
6+ [ ![ Coverage] ( https://codecov.io/gh/JuliaVersionControl/GitREPL .jl/branch/main/graph/badge.svg )] ( https://codecov.io/gh/JuliaVersionControl/GitREPL .jl )
77
88## Git REPL mode
99
1010``` julia
11- julia> using GitRepl
11+ julia> using GitREPL
1212
1313# Press , to enter the Git REPL mode
1414
Original file line number Diff line number Diff line change 11[deps ]
22Documenter = " e30172f5-a6a5-5a46-863b-614d45cd2de4"
3- GitRepl = " 86bc0129-654e-4751-9b96-b173469afcbd"
3+ GitREPL = " 86bc0129-654e-4751-9b96-b173469afcbd"
Original file line number Diff line number Diff line change 1- using GitRepl
1+ using GitREPL
22using Documenter
33
4- DocMeta. setdocmeta! (GitRepl , :DocTestSetup , :(using GitRepl ); recursive= true )
4+ DocMeta. setdocmeta! (GitREPL , :DocTestSetup , :(using GitREPL ); recursive= true )
55
66makedocs (;
7- modules= [GitRepl ],
7+ modules= [GitREPL ],
88 authors= " Dilum Aluthge and contributors" ,
9- repo= " https://github.com/JuliaVersionControl/GitRepl .jl/blob/{commit}{path}#{line}" ,
10- sitename= " GitRepl .jl" ,
9+ repo= " https://github.com/JuliaVersionControl/GitREPL .jl/blob/{commit}{path}#{line}" ,
10+ sitename= " GitREPL .jl" ,
1111 format= Documenter. HTML (;
1212 prettyurls= get (ENV , " CI" , " false" ) == " true" ,
13- canonical= " https://JuliaVersionControl.github.io/GitRepl .jl" ,
13+ canonical= " https://JuliaVersionControl.github.io/GitREPL .jl" ,
1414 assets= String[],
1515 ),
1616 pages= [
@@ -20,6 +20,6 @@ makedocs(;
2020)
2121
2222deploydocs (;
23- repo= " github.com/JuliaVersionControl/GitRepl .jl" ,
23+ repo= " github.com/JuliaVersionControl/GitREPL .jl" ,
2424 devbranch= " main" ,
2525)
Original file line number Diff line number Diff line change 11``` @meta
2- CurrentModule = GitRepl
2+ CurrentModule = GitREPL
33```
44
5- # GitRepl
5+ # GitREPL
66
7- Documentation for [ GitRepl ] ( https://github.com/JuliaVersionControl/GitRepl .jl ) .
7+ Documentation for [ GitREPL ] ( https://github.com/JuliaVersionControl/GitREPL .jl ) .
88
99``` @index
1010```
1111
1212``` @autodocs
13- Modules = [GitRepl ]
13+ Modules = [GitREPL ]
1414```
Original file line number Diff line number Diff line change 1- module GitRepl
1+ module GitREPL
22
33import Git
44import ReplMaker
55
66export gitrepl
77
8- const GIT_REPL_MODE_NAME = " GitRepl .jl Git REPL mode"
8+ const GIT_REPL_MODE_NAME = " GitREPL .jl Git REPL mode"
99const GIT_REPL_MODE_PROMPT_TEXT = " git> "
1010const GIT_REPL_MODE_START_KEY = ' ,'
1111
1212function _gitrepl_parser (repl_input:: AbstractString )
1313 return quote
1414 repl_input = $ (Expr (:quote , repl_input))
15- run (` $(GitRepl . Git. git ()) $(split (repl_input)) ` )
15+ run (` $(GitREPL . Git. git ()) $(split (repl_input)) ` )
1616 return nothing
1717 end
1818end
Original file line number Diff line number Diff line change 1- using GitRepl
1+ using GitREPL
22using Test
33
44function withtempdir (f:: Function )
@@ -10,16 +10,16 @@ function withtempdir(f::Function)
1010 return nothing
1111end
1212
13- @testset " GitRepl .jl" begin
13+ @testset " GitREPL .jl" begin
1414 withtempdir () do tmp_dir
15- @test ! isdir (" GitRepl .jl" )
16- @test ! isfile (joinpath (" GitRepl .jl" , " Project.toml" ))
17- expr = GitRepl . _gitrepl_parser (" clone https://github.com/JuliaVersionControl/GitRepl .jl" )
15+ @test ! isdir (" GitREPL .jl" )
16+ @test ! isfile (joinpath (" GitREPL .jl" , " Project.toml" ))
17+ expr = GitREPL . _gitrepl_parser (" clone https://github.com/JuliaVersionControl/GitREPL .jl" )
1818 @test expr isa Expr
19- @test ! isdir (" GitRepl .jl" )
20- @test ! isfile (joinpath (" GitRepl .jl" , " Project.toml" ))
19+ @test ! isdir (" GitREPL .jl" )
20+ @test ! isfile (joinpath (" GitREPL .jl" , " Project.toml" ))
2121 @eval $ (expr)
22- @test isdir (" GitRepl .jl" )
23- @test isfile (joinpath (" GitRepl .jl" , " Project.toml" ))
22+ @test isdir (" GitREPL .jl" )
23+ @test isfile (joinpath (" GitREPL .jl" , " Project.toml" ))
2424 end
2525end
You can’t perform that action at this time.
0 commit comments