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 69
69
- run : |
70
70
julia --project=docs -e '
71
71
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 )'
75
75
- run : julia --project=docs docs/make.jl
76
76
env :
77
77
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
- name = " GitRepl "
1
+ name = " GitREPL "
2
2
uuid = " 86bc0129-654e-4751-9b96-b173469afcbd"
3
3
authors = [" Dilum Aluthge" , " contributors" ]
4
4
version = " 1.0.0"
Original file line number Diff line number Diff line change 1
- # GitRepl
1
+ # GitREPL
2
2
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 )
7
7
8
8
## Git REPL mode
9
9
10
10
``` julia
11
- julia> using GitRepl
11
+ julia> using GitREPL
12
12
13
13
# Press , to enter the Git REPL mode
14
14
Original file line number Diff line number Diff line change 1
1
[deps ]
2
2
Documenter = " 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
2
2
using Documenter
3
3
4
- DocMeta. setdocmeta! (GitRepl , :DocTestSetup , :(using GitRepl ); recursive= true )
4
+ DocMeta. setdocmeta! (GitREPL , :DocTestSetup , :(using GitREPL ); recursive= true )
5
5
6
6
makedocs (;
7
- modules= [GitRepl ],
7
+ modules= [GitREPL ],
8
8
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" ,
11
11
format= Documenter. HTML (;
12
12
prettyurls= get (ENV , " CI" , " false" ) == " true" ,
13
- canonical= " https://JuliaVersionControl.github.io/GitRepl .jl" ,
13
+ canonical= " https://JuliaVersionControl.github.io/GitREPL .jl" ,
14
14
assets= String[],
15
15
),
16
16
pages= [
@@ -20,6 +20,6 @@ makedocs(;
20
20
)
21
21
22
22
deploydocs (;
23
- repo= " github.com/JuliaVersionControl/GitRepl .jl" ,
23
+ repo= " github.com/JuliaVersionControl/GitREPL .jl" ,
24
24
devbranch= " main" ,
25
25
)
Original file line number Diff line number Diff line change 1
1
``` @meta
2
- CurrentModule = GitRepl
2
+ CurrentModule = GitREPL
3
3
```
4
4
5
- # GitRepl
5
+ # GitREPL
6
6
7
- Documentation for [ GitRepl ] ( https://github.com/JuliaVersionControl/GitRepl .jl ) .
7
+ Documentation for [ GitREPL ] ( https://github.com/JuliaVersionControl/GitREPL .jl ) .
8
8
9
9
``` @index
10
10
```
11
11
12
12
``` @autodocs
13
- Modules = [GitRepl ]
13
+ Modules = [GitREPL ]
14
14
```
Original file line number Diff line number Diff line change 1
- module GitRepl
1
+ module GitREPL
2
2
3
3
import Git
4
4
import ReplMaker
5
5
6
6
export gitrepl
7
7
8
- const GIT_REPL_MODE_NAME = " GitRepl .jl Git REPL mode"
8
+ const GIT_REPL_MODE_NAME = " GitREPL .jl Git REPL mode"
9
9
const GIT_REPL_MODE_PROMPT_TEXT = " git> "
10
10
const GIT_REPL_MODE_START_KEY = ' ,'
11
11
12
12
function _gitrepl_parser (repl_input:: AbstractString )
13
13
return quote
14
14
repl_input = $ (Expr (:quote , repl_input))
15
- run (` $(GitRepl . Git. git ()) $(split (repl_input)) ` )
15
+ run (` $(GitREPL . Git. git ()) $(split (repl_input)) ` )
16
16
return nothing
17
17
end
18
18
end
Original file line number Diff line number Diff line change 1
- using GitRepl
1
+ using GitREPL
2
2
using Test
3
3
4
4
function withtempdir (f:: Function )
@@ -10,16 +10,16 @@ function withtempdir(f::Function)
10
10
return nothing
11
11
end
12
12
13
- @testset " GitRepl .jl" begin
13
+ @testset " GitREPL .jl" begin
14
14
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" )
18
18
@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" ))
21
21
@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" ))
24
24
end
25
25
end
You can’t perform that action at this time.
0 commit comments