mix zig.get (zig_get v0.15.2)
View Sourceobtains the Zig compiler toolchain
$ mix zig.get [--version VERSION] [--from FROM] [--os OS] [--arch ARCH] [other options]
the zigler compiler will be downloaded to ZIG_ARCHIVE_PATH/VERSION
if unspecified, VERSION defaults to 0.15.2.
if FROM is specified, will use the FROM file instead of getting from the internet.
if unspecified, ZIG_ARCHIVE_PATH defaults to the user cache path given by
:filename.basedir/3 with application name "zigler".
OS and ARCH will be detected from the current build system. It's not recommended to change these arguments.
environment variable options
TAR_COMMAND: path to a tar executable that is equivalent to gnu tar. only useful for non-windows architectures.ZIG_ARCHIVE_PATH: path to desired directory to achive the zig compiler toolchain.
other options
--forceoverwrites the existing installation if it exists.--disable-verifydisables the hash verification of the downloaded file. it's possible that the manifest athttps://ziglang.org/download/index.json
Summary
Functions
Callback implementation for Mix.Task.run/1.