Skip to content

Commit

Permalink
tidy all go projects before build
Browse files Browse the repository at this point in the history
  • Loading branch information
dadevel committed Nov 6, 2023
1 parent 0a87b6c commit a7db020
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions aquatone/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions asnmap/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}/cmd/${pkgname}"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
2 changes: 1 addition & 1 deletion azurehound/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}"
go mod download
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions dnsx/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}/cmd/${pkgname}"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions ffuf/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions gobuster/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions gowitness/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions httpx/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}/cmd/${pkgname}"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
2 changes: 1 addition & 1 deletion kerbrute/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}"
go mod download
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions ldapnomnom/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions mapcidr/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}/cmd/${pkgname}"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions nuclei/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}/cmd/nuclei"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
4 changes: 2 additions & 2 deletions pretender/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=pretender
pkgver=v1.0.0_3_g81d67f1
pkgver=latest
pkgrel=1
url="https://github.com/redteampentesting/${pkgname}.git"
arch=(any)
Expand All @@ -10,7 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}"
go mod download
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions shuffledns/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}/cmd/${pkgname}"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions subfinder/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}/v2/cmd/subfinder"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down
1 change: 1 addition & 0 deletions tlsx/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sha256sums=(SKIP)

build() {
cd "${srcdir}/${pkgname}/cmd/${pkgname}"
go mod tidy
go build -trimpath -buildmode=pie -mod=readonly -modcacherw -ldflags '-s -w' -o "${pkgname}" .
}

Expand Down

0 comments on commit a7db020

Please sign in to comment.