-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing BuildProvider dependency given it does not work in M1 #53
Conversation
@@ -4,17 +4,17 @@ authors = ["Pietro Vertechi"] | |||
version = "0.3.2" | |||
|
|||
[deps] | |||
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232" | |||
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new dependencies also need compatibility information (the [compat]
field below).
|
||
BinaryProvider.gen_unpack_cmd(joinpath(tmp, "katex.tar.gz"), tmp) |> run | ||
katex_compressed=joinpath(download_dir, "katex.tar.gz") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
katex_compressed=joinpath(download_dir, "katex.tar.gz") | |
const katex_compressed = joinpath(download_dir, "katex.tar.gz") |
@@ -12,9 +12,16 @@ download( | |||
const tmp = joinpath(_pkg_assets, "tmp") | |||
!isdir(tmp) && mkdir(tmp) | |||
|
|||
download("https://github.com/KaTeX/KaTeX/releases/download/v0.10.0/katex.tar.gz", joinpath(tmp, "katex.tar.gz")) | |||
const download_dir = joinpath(_pkg_assets, "download") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could the download also happen inside tmp
? Maybe it can be split as tmp/download
and tmp/extract
. I find it cleaner to just remove one tmp
folder at the end
I've changed the settings of the repo, so now the CI runs when you push changes here. It may be necessary to increase the lower bound of julia compatibility to be able to use the Tar.jl package. |
Superseded by #55 |
Removing BuildProvider dependency given it does not work in M1. Instead using Tar and CodecZlib.