triviOS/.build.yml
Fabián Montero b0713c7857 fix typo
2023-09-05 00:39:33 -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