This repository was archived by the owner on Dec 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-3
lines changed
Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 88<p >
99
1010[ ![ Lisans: GPL3] ( https://img.shields.io/github/license/xeyossr/anitr-cli?style=for-the-badge&logo=opensourceinitiative&logoColor=white&label=Lisans )] ( https://github.com/xeyossr/anitr-cli/blob/main/LICENSE )
11- [ ![ Go Versiyon] ( https://img.shields.io/badge/Go-1.24 +-blue?style=for-the-badge&logo=go&logoColor=white )] ( https://golang.org/dl/ )
11+ [ ![ Go Versiyon] ( https://img.shields.io/badge/Go-1.23 +-blue?style=for-the-badge&logo=go&logoColor=white )] ( https://golang.org/dl/ )
1212[ ![ Release] ( https://img.shields.io/github/v/release/xeyossr/anitr-cli?style=for-the-badge&logo=github&logoColor=white&label=Son%20Sürüm )] ( https://github.com/xeyossr/anitr-cli/releases/latest )
1313[ ![ AUR] ( https://img.shields.io/aur/version/anitr-cli?style=for-the-badge&logo=archlinux&logoColor=white&label=AUR )] ( https://aur.archlinux.org/packages/anitr-cli )
1414
Original file line number Diff line number Diff line change @@ -21,8 +21,14 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/xeyossr/anitr-cli/archi
2121sha256sums=(' SKIP' )
2222
2323build () {
24- gobuildenv=$( go version)
2524 cd " $srcdir /$pkgname -$pkgver "
25+
26+ export GOFLAGS=" -mod=mod"
27+ go mod tidy
28+ go fmt ./...
29+
30+ echo " ⚙️ Derleniyor..."
31+ gobuildenv=$( go version)
2632 go build -o build/anitr-cli -ldflags=" -X 'github.com/xeyossr/anitr-cli/internal/update.version=${pkgver} ' -X 'github.com/xeyossr/anitr-cli/internal/update.buildEnv=${gobuildenv} '"
2733}
2834
Original file line number Diff line number Diff line change 11module github.com/xeyossr/anitr-cli
22
3- go 1.24.5
3+ go 1.23
44
55require (
66 github.com/Masterminds/semver/v3 v3.4.0
Original file line number Diff line number Diff line change 3535 echo " ⚠️ Tag bulunamadı, 'main' dalı kullanılacak."
3636fi
3737
38+ echo " 🧹 Go modülleri düzenleniyor ve kod formatlanıyor..."
39+ export GOFLAGS=" -mod=mod"
40+ go mod tidy
41+ go fmt ./...
42+
3843echo " ⚙️ Derleniyor ve kuruluyor..."
3944
4045if [[ " $HAS_MAKE " -eq 1 ]]; then
You can’t perform that action at this time.
0 commit comments