Skip to content
This repository was archived by the owner on Mar 26, 2021. It is now read-only.

Commit 415a759

Browse files
authored
Require Git_jll v2.31 and Julia v1.6 (#42)
1 parent 195ab94 commit 415a759

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
version:
18-
- '1.3'
19-
- '1'
18+
- '^1.6.0-0'
2019
- 'nightly'
2120
os:
2221
- ubuntu-latest
@@ -35,7 +34,7 @@ jobs:
3534
with:
3635
version: ${{ matrix.version }}
3736
arch: ${{ matrix.arch }}
38-
- uses: actions/cache@v1
37+
- uses: actions/cache@v2
3938
env:
4039
cache-name: cache-artifacts
4140
with:

Project.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
name = "GitCommand"
22
uuid = "49b5b516-ca3f-4003-a081-42bdcf55082d"
33
authors = ["Dilum Aluthge", "Brown Center for Biomedical Informatics"]
4-
version = "2.0.0"
4+
version = "2.1.0"
55

66
[deps]
7+
JLLWrappers = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
78
Git_jll = "f8c6e375-362e-5223-8a59-34ff63f689eb"
89
ReplMaker = "b873ce64-0db9-51f5-a568-4457d8e49576"
910

1011
[compat]
12+
JLLWrappers = "1.1"
13+
Git_jll = "2.31"
1114
ReplMaker = "0.2.3"
12-
julia = "1.3"
15+
julia = "1.6"
1316

1417
[extras]
1518
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

src/GitCommand.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module GitCommand
22

3+
import JLLWrappers
34
import Git_jll
45
import ReplMaker
56

src/env.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ function _env_mapping(; adjust_PATH::Bool = true,
77
if haskey(ENV, "PATH")
88
env_mapping["PATH"] = ENV["PATH"]
99
end
10-
if haskey(ENV, Git_jll.LIBPATH_env)
11-
env_mapping[Git_jll.LIBPATH_env] = ENV[Git_jll.LIBPATH_env]
10+
if haskey(ENV, JLLWrappers.LIBPATH_env)
11+
env_mapping[JLLWrappers.LIBPATH_env] = ENV[JLLWrappers.LIBPATH_env]
1212
end
1313
return git_path, env_mapping
1414
end
@@ -28,7 +28,7 @@ function _env_mapping(; adjust_PATH::Bool = true,
2828
share_git_core_templates = joinpath(share_git_core, "templates")
2929

3030
libcurlpath = dirname(Git_jll.LibCURL_jll.libcurl_path)
31-
originallibpath = get(ENV, Git_jll.LIBPATH_env, "")
31+
originallibpath = get(ENV, JLLWrappers.LIBPATH_env, "")
3232
newlibpath = "$(libcurlpath)$(sep)$(originallibpath)"
3333

3434
ssl_cert = joinpath(dirname(Sys.BINDIR), "share", "julia", "cert.pem")
@@ -37,7 +37,7 @@ function _env_mapping(; adjust_PATH::Bool = true,
3737
env_mapping["GIT_EXEC_PATH"] = libexec_git_core
3838
env_mapping["GIT_SSL_CAINFO"] = ssl_cert
3939
env_mapping["GIT_TEMPLATE_DIR"] = share_git_core_templates
40-
env_mapping[Git_jll.LIBPATH_env] = newlibpath
40+
env_mapping[JLLWrappers.LIBPATH_env] = newlibpath
4141
if haskey(ENV, "PATH")
4242
env_mapping["PATH"] = ENV["PATH"]
4343
end

0 commit comments

Comments
 (0)