Skip to content

Instantly share code, notes, and snippets.

View mdlayher's full-sized avatar

Matt Layher mdlayher

View GitHub Profile
#!/bin/bash
set -x
go test $@ -count 1 .
while inotifywait -e close_write *.go; do go test $@ -count 1 .; done

Given an input JSON file derived from channels.nix:

{
    "channels": {
        "nixos-unstable": {
            "job": "nixos/trunk-combined/tested",
            "current": true
        },
        "nixos-unstable-small": {