-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Official FreeBSD zig tarballs have returned! This reverts commit 0f355a9.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
image: freebsd/latest | ||
packages: | ||
- devel/pkgconf | ||
- graphics/wayland | ||
- graphics/wayland-protocols | ||
- scdoc | ||
- security/ca_root_nss | ||
- wget | ||
- x11/libxkbcommon | ||
sources: | ||
- https://codeberg.org/ifreund/waylock | ||
tasks: | ||
- install_deps: | | ||
# Eat Github's resources rather than the Zig Software Foundation's resources! | ||
wget -nv https://github.com/ifreund/zig-tarball-mirror/releases/download/0.13.0/zig-freebsd-x86_64-0.13.0.tar.xz | ||
tar xf zig-freebsd-x86_64-0.13.0.tar.xz | ||
sudo mv zig-freebsd-x86_64-0.13.0/zig /usr/bin/ | ||
sudo mv zig-freebsd-x86_64-0.13.0/lib /usr/lib/zig | ||
- build: | | ||
cd waylock | ||
zig build -Dman-pages | ||
- fmt: | | ||
cd waylock | ||
zig fmt --check build.zig | ||
zig fmt --check src/ |