summaryrefslogtreecommitdiff
path: root/vendor/github.com/uptrace/bun/Makefile
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2025-03-09 17:47:56 +0100
committerLibravatar Terin Stock <terinjokes@gmail.com>2025-12-01 22:08:04 +0100
commitb1af8fd87760b34e3ff2fd3bda38f211815a0473 (patch)
tree9317fad1a7ec298d7a8d2678e4e422953bbc6f33 /vendor/github.com/uptrace/bun/Makefile
parent[chore] update URLs to forked source (diff)
downloadgotosocial-b1af8fd87760b34e3ff2fd3bda38f211815a0473.tar.xz
[chore] remove vendor
Diffstat (limited to 'vendor/github.com/uptrace/bun/Makefile')
-rw-r--r--vendor/github.com/uptrace/bun/Makefile30
1 files changed, 0 insertions, 30 deletions
diff --git a/vendor/github.com/uptrace/bun/Makefile b/vendor/github.com/uptrace/bun/Makefile
deleted file mode 100644
index 0bbfb5653..000000000
--- a/vendor/github.com/uptrace/bun/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-ALL_GO_MOD_DIRS := $(shell find . -type f -name 'go.mod' -exec dirname {} \; | sort)
-EXAMPLE_GO_MOD_DIRS := $(shell find ./example/ -type f -name 'go.mod' -exec dirname {} \; | sort)
-
-test:
- set -e; for dir in $(ALL_GO_MOD_DIRS); do \
- echo "go test in $${dir}"; \
- (cd "$${dir}" && \
- go test && \
- env RACETEST=1 go test -race && \
- env GOOS=linux GOARCH=386 TZ= go test && \
- go vet); \
- done
-
-go_mod_tidy:
- set -e; for dir in $(ALL_GO_MOD_DIRS); do \
- echo "go mod tidy in $${dir}"; \
- (cd "$${dir}" && \
- go get -u ./... && \
- go mod tidy); \
- done
-
-fmt:
- gofmt -w -s ./
- goimports -w -local github.com/uptrace/bun ./
-
-run-examples:
- set -e; for dir in $(EXAMPLE_GO_MOD_DIRS); do \
- echo "go run . in $${dir}"; \
- (cd "$${dir}" && go run .); \
- done