triviOS/.build.yml
Fabián Montero ee6e523b6b abandons build in favor of format checker
sadly source hut build machines are too weak
2023-09-05 00:38:44 -06:00

20 lines
388 B
YAML

image: nixos/23.05
sources:
- https://git.sr.ht/~fabianmv/triviOS
environment:
NIX_CONFIG: "experimental-features = nix-command flakes"
shell: true
tasks:
- check format: |
cd triviOS
nix fmt
git diff-index --quiet HEAD --
diff=$?
if [ "$diff" -eq 1 ]; then
echo "Invalid format."
exit 1
else
echo "Done."
fi