A fork of attic a self-hostable Nix Binary Cache server
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add CI-agnostic helper scripts

+23
+1
.ci/.gitignore
··· 1 + /cached-shell
+5
.ci/cache-shell.sh
··· 1 + #!/usr/bin/env bash 2 + source "$(dirname "${BASH_SOURCE[0]}")/common.sh" 3 + 4 + >&2 echo "Caching dev shell" 5 + nix print-dev-env "${base}#" >"${cached_shell}"
+7
.ci/common.sh
··· 1 + # Use as: 2 + # 3 + # source "$(dirname "${BASH_SOURCE[0]}")/common.sh" 4 + 5 + set -euo pipefail 6 + base="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)" 7 + cached_shell="${base}/.ci/cached-shell"
+10
.ci/run
··· 1 + #!/usr/bin/env bash 2 + source "$(dirname "${BASH_SOURCE[0]}")/common.sh" 3 + 4 + if [[ ! -f "${cached_shell}" ]]; then 5 + >&2 echo "No cached shell in ${cached_shell}" 6 + exit 1 7 + fi 8 + 9 + . "${cached_shell}" 10 + exec "$@"