This repository contains Snapcraft configuration and script files for packaging Zig into a snap.
To install the latest tagged version of Zig:
snap install zig --classic --beta
Since Zig is undergoing rapid development, stable versions have not been published yet.
Visit https://snapcraft.io/zig to see published versions and more information.
Install prerequisites:
Run zig-to-snap
in this repository.
Start:
systemd-run --user --unit=zig-to-snap --on-startup=0 --on-unit-inactive=5min --setenv=SNAPCRAFT_STORE_CREDENTIALS=hunter2 $PWD/zig-to-snap master edge
Stop:
systemctl stop --user zig-to-snap.timer
Status:
systemctl status --user zig-to-snap.service
Log:
journalctl --user-unit zig-to-snap.service
If you have a problem, be sure to report it in the correct place:
- Create issues in this project for problems specific to the Zig snap package.
- For general problems with Zig, head over to the main Zig project.