commit bd2371e089d61e59a31119aad9c5fd0118d7ed8a parent 143d0f52629610889aeb650e3e42d43ae4ebb423 Author: Andrea Feletto <andrea@andreafeletto.com> Date: Thu, 28 Apr 2022 13:45:24 +0200 add ci and package script Diffstat:
A | .build.yml | | | 17 | +++++++++++++++++ |
A | contrib/package | | | 8 | ++++++++ |
2 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/.build.yml b/.build.yml @@ -0,0 +1,17 @@ +image: archlinux +packages: + - zig + - wayland + - wayland-protocols + - fcft + - pixman + - libpulse +sources: + - https://git.sr.ht/~andreafeletto/levee +tasks: + - submodules: | + cd levee + git submodule update --init + - build: | + cd levee + zig build diff --git a/contrib/package b/contrib/package @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +name="levee-$1" +mkdir "$name" +git ls-files --recurse-submodules | xargs cp --parents -r -t "$name" +tar -cavf "$name.tar.gz" "$name"