forked from hasufell/hasufell-repository
Compare commits
10 Commits
master
...
gh-cli-ver
| Author | SHA1 | Date | |
|---|---|---|---|
| 90eb2722f9 | |||
|
|
302ee5abfc | ||
|
|
1e4260ce40 | ||
|
|
fac1070786 | ||
|
|
8d01fe2bb9 | ||
|
|
b86ac8428c | ||
|
|
96a03c0555 | ||
|
035c968f4d
|
|||
| f996d6378a | |||
| 5830af8d76 |
@@ -23,6 +23,7 @@ BUGS_TO="hasufell@posteo.de"
|
|||||||
src_compile() {
|
src_compile() {
|
||||||
export GOPATH="${WORK}"/.gopath
|
export GOPATH="${WORK}"/.gopath
|
||||||
export GOBIN="${WORK}"/.bin
|
export GOBIN="${WORK}"/.bin
|
||||||
|
export GH_VERSION="v${PV}"
|
||||||
unset LDFLAGS
|
unset LDFLAGS
|
||||||
|
|
||||||
esandbox disable_net
|
esandbox disable_net
|
||||||
@@ -30,7 +31,7 @@ src_compile() {
|
|||||||
emake manpages
|
emake manpages
|
||||||
|
|
||||||
edo go run ./cmd/gh completion -s bash > gh.bash-completion
|
edo go run ./cmd/gh completion -s bash > gh.bash-completion
|
||||||
edo go run ./cmd/gh completion -s zsh > gh.zsh-completion
|
edo go run ./cmd/gh completion -s zsh > _gh
|
||||||
esandbox enable_net
|
esandbox enable_net
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -40,5 +41,12 @@ src_install() {
|
|||||||
|
|
||||||
doman share/man/man?/gh*.?
|
doman share/man/man?/gh*.?
|
||||||
dobashcompletion gh.bash-completion
|
dobashcompletion gh.bash-completion
|
||||||
dozshcompletion gh.zsh-completion
|
dozshcompletion _gh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
esandbox disable_net
|
||||||
|
default
|
||||||
|
esandbox enable_net
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user