zig-version-downloader

command module
v0.0.0-...-a5c6689 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 7 Imported by: 0

README

zig-version-downloader

This is a small program which downloads the latest (master) version of the Zig programming language as an archive from here:

Zig Download Index JSON

How to use it:
  • You would need to have Go installed.
  • Clone the repo.
  • Follow the below steps to run the program and the tests.

P.S. Since I'm not a millionaire and don't own a Mac, I haven't been able to test whether the current implementation works for iOS users, sorry..

1. To download the latest archive:
go run main.go
2. To run all tests in the subpackages from the current package:
go test ./...

Because tests are being cached and most probably you would like to see that the unzip functionality works, you can use a flag to uncache them:

go test -count=1 ./...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL