Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes #4482 <!-- Hi, thanks for contributing! Please make sure you read our CONTRIBUTING guide. Also, add tests and the respective documentation changes as well. --> <!-- If applied, this commit will... --> ... <!-- Why is this change being made? --> ... <!-- # Provide links to any relevant tickets, URLs or other resources --> ... Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
63 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
internal/pipe/aur/testdata/TestFullPipe/custom-dir.pkgbuild.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This file was generated by GoReleaser. DO NOT EDIT. | ||
|
||
pkgname='custom-dir-bin' | ||
pkgver=1.0.1 | ||
pkgrel=1 | ||
pkgdesc='A run pipe test fish food and FOO=foo_is_bar' | ||
url='https://github.com/goreleaser' | ||
arch=('x86_64') | ||
license=('MIT') | ||
provides=('custom-dir') | ||
conflicts=('custom-dir') | ||
|
||
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://dummyhost/download/v1.0.1-foo/bin.tar.gz") | ||
sha256sums_x86_64=('e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855') | ||
|
||
package() { | ||
install -Dm755 "./name" "${pkgdir}/usr/bin/name" | ||
} |
13 changes: 13 additions & 0 deletions
13
internal/pipe/aur/testdata/TestFullPipe/custom-dir.srcinfo.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pkgbase = custom-dir-bin | ||
pkgdesc = A run pipe test fish food and FOO=foo_is_bar | ||
pkgver = 1.0.1 | ||
pkgrel = 1 | ||
url = https://github.com/goreleaser | ||
license = MIT | ||
conflicts = custom-dir | ||
provides = custom-dir | ||
arch = x86_64 | ||
source_x86_64 = https://dummyhost/download/v1.0.1-foo/bin.tar.gz | ||
sha256sums_x86_64 = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 | ||
|
||
pkgname = custom-dir-bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters