#! /usr/bin/env nix-shell #! nix-shell -i bash -p make all -j$(nproc) || exit 1 #bozohttpd -c ./cgit -I 9000 . -f -V -C '' cgit -p . rm -rf test_utils mkdir test_utils nix build nixpkgs#nginx --out-link test_utils/nginx nix build nixpkgs#fcgiwrap --out-link test_utils/fcgiwrap nix build nixpkgs#git --out-link test_utils/git test_utils/fcgiwrap/bin/fcgiwrap -s unix:test_utils/fcgiwrap.sock -c $(($(nproc)*4)) & test_utils/nginx/bin/nginx -c $(pwd)/tests/nginx.conf -p $(pwd)/test_utils