Skip to content

Commit 0d3835b

Browse files
authored
Merge pull request #27 from infosiftr/refactor
Refactor data model to support more atomic index generation
2 parents ddbad1a + 64b5472 commit 0d3835b

26 files changed

+3136
-2001
lines changed

.any-go-nt.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env bash
2+
set -Eeuo pipefail
3+
4+
# usage: if ./.any-go-nt.sh builds; then expensive-docker-run-command ... go build -o builds ...; fi
5+
6+
shopt -s globstar
7+
8+
for go in **/**.go go.mod go.sum; do
9+
for f; do
10+
if [ "$go" -nt "$f" ]; then
11+
exit 0
12+
fi
13+
done
14+
done
15+
16+
exit 1

.go-env.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,16 @@ args=(
2020

2121
--env "CGO_ENABLED=${CGO_ENABLED-0}"
2222
--env "GOTOOLCHAIN=${GOTOOLCHAIN-local}"
23+
--env GODEBUG
2324
--env GOFLAGS
2425
--env GOOS --env GOARCH
2526
--env GO386
2627
--env GOAMD64
2728
--env GOARM
29+
30+
# hack hack hack (useful for "go run" during dev/test)
31+
--env DOCKERHUB_PUBLIC_PROXY
32+
--env DOCKERHUB_PUBLIC_PROXY_HOST
2833
)
2934
if [ -t 0 ] && [ -t 1 ]; then
3035
args+=( --tty )

.test/builds.json

Lines changed: 1023 additions & 743 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)