Skip to content

Snapcraft config for packaging Zig into a snap

Notifications You must be signed in to change notification settings

jayschwa/snapcraft-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snapcraft 💞 Zig

This repository contains Snapcraft configuration and script files for packaging Zig into a snap.

Zig

Install Zig

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.

Build a Zig Snap

Install prerequisites:

Run zig-to-snap in this repository.

Background Service

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

Report Problems

If you have a problem, be sure to report it in the correct place:

About

Snapcraft config for packaging Zig into a snap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages