Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

ekobir
Copy link

@ekobir ekobir commented Nov 27, 2022

Removing BuildProvider dependency given it does not work in M1. Instead using Tar and CodecZlib.

@@ -4,17 +4,17 @@ authors = ["Pietro Vertechi"]
version = "0.3.2"

[deps]
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
Copy link
Owner

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")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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")
Copy link
Owner

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

@piever
Copy link
Owner

piever commented Nov 30, 2022

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.

@piever
Copy link
Owner

piever commented Apr 3, 2023

Superseded by #55

@piever piever closed this Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants