mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-18 15:39:20 -06:00
Update dependencies:
- github.com/gin-gonic/gin v1.10.0 -> v1.10.1
- github.com/gin-contrib/sessions v1.10.3 -> v1.10.4
- github.com/jackc/pgx/v5 v5.7.4 -> v5.7.5
- github.com/minio/minio-go/v7 v7.0.91 -> v7.0.92
- github.com/pquerna/otp v1.4.0 -> v1.5.0
- github.com/tdewolff/minify/v2 v2.23.5 -> v2.23.8
- github.com/yuin/goldmark v1.7.11 -> v1.7.12
- go.opentelemetry.io/otel{,/*} v1.35.0 -> v1.36.0
- modernc.org/sqlite v1.37.0 -> v1.37.1
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4188
Reviewed-by: Daenney <daenney@noreply.codeberg.org>
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
87 lines
2.8 KiB
Makefile
87 lines
2.8 KiB
Makefile
# Copyright 2024 The Sqlite Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
.PHONY: all build_all_targets clean edit editor test vendor work
|
|
|
|
all: editor
|
|
golint 2>&1
|
|
staticcheck 2>&1
|
|
|
|
build_all_targets:
|
|
GOOS=darwin GOARCH=amd64 go test -c -o /dev/null
|
|
GOOS=darwin GOARCH=amd64 go build -v ./...
|
|
GOOS=darwin GOARCH=arm64 go test -c -o /dev/null
|
|
GOOS=darwin GOARCH=arm64 go build -v ./...
|
|
GOOS=freebsd GOARCH=amd64 go test -c -o /dev/null
|
|
GOOS=freebsd GOARCH=amd64 go build -v ./...
|
|
# GOOS=freebsd GOARCH=386 go test -c -o /dev/null
|
|
# GOOS=freebsd GOARCH=386 go build -v ./...
|
|
# GOOS=freebsd GOARCH=arm go test -c -o /dev/null
|
|
# GOOS=freebsd GOARCH=arm go build -v ./...
|
|
GOOS=freebsd GOARCH=arm64 go test -c -o /dev/null
|
|
GOOS=freebsd GOARCH=arm64 go build -v ./...
|
|
GOOS=linux GOARCH=386 go test -c -o /dev/null
|
|
GOOS=linux GOARCH=386 go build -v ./...
|
|
GOOS=linux GOARCH=amd64 go test -c -o /dev/null
|
|
GOOS=linux GOARCH=amd64 go build -v ./...
|
|
GOOS=linux GOARCH=arm go test -c -o /dev/null
|
|
GOOS=linux GOARCH=arm go build -v ./...
|
|
GOOS=linux GOARCH=arm64 go test -c -o /dev/null
|
|
GOOS=linux GOARCH=arm64 go build -v ./...
|
|
GOOS=linux GOARCH=loong64 go test -c -o /dev/null
|
|
GOOS=linux GOARCH=loong64 go build -v ./...
|
|
GOOS=linux GOARCH=ppc64le go test -c -o /dev/null
|
|
GOOS=linux GOARCH=ppc64le go build -v ./...
|
|
GOOS=linux GOARCH=riscv64 go test -c -o /dev/null
|
|
GOOS=linux GOARCH=riscv64 go build -v ./...
|
|
GOOS=linux GOARCH=s390x go test -c -o /dev/null
|
|
GOOS=linux GOARCH=s390x go build -v ./...
|
|
# GOOS=netbsd GOARCH=amd64 go test -c -o /dev/null
|
|
# GOOS=netbsd GOARCH=amd64 go build -v ./...
|
|
GOOS=openbsd GOARCH=amd64 go test -c -o /dev/null
|
|
GOOS=openbsd GOARCH=amd64 go build -v ./...
|
|
GOOS=openbsd GOARCH=arm64 go test -c -o /dev/null
|
|
GOOS=openbsd GOARCH=arm64 go build -v ./...
|
|
GOOS=windows GOARCH=386 go test -c -o /dev/null
|
|
GOOS=windows GOARCH=386 go build -v ./...
|
|
GOOS=windows GOARCH=amd64 go test -c -o /dev/null
|
|
GOOS=windows GOARCH=amd64 go build -v ./...
|
|
GOOS=windows GOARCH=arm64 go test -c -o /dev/null
|
|
GOOS=windows GOARCH=arm64 go build -v ./...
|
|
echo done
|
|
|
|
clean:
|
|
rm -f log-* cpu.test mem.test *.out go.work*
|
|
go clean
|
|
|
|
edit:
|
|
@if [ -f "Session.vim" ]; then gvim -S & else gvim -p Makefile go.mod builder.json all_test.go & fi
|
|
|
|
editor:
|
|
gofmt -l -s -w .
|
|
go test -c -o /dev/null
|
|
go build -v -o /dev/null ./...
|
|
cd vendor_libsqlite3 && go build -o /dev/null main.go
|
|
|
|
test:
|
|
go test -v -timeout 24h
|
|
|
|
vendor:
|
|
cd vendor_libsqlite3 && go build -o ../vendor main.go
|
|
./vendor
|
|
rm -f vendor
|
|
make build_all_targets
|
|
make build_all_targets
|
|
|
|
work:
|
|
rm -f go.work*
|
|
go work init
|
|
go work use .
|
|
go work use ../cc/v4
|
|
go work use ../ccgo/v3
|
|
go work use ../ccgo/v4
|
|
go work use ../libc
|
|
go work use ../libtcl8.6
|
|
go work use ../libsqlite3
|
|
go work use ../libz
|