fix(keygen): correctly load token for validation
Some checks failed
Cadoles/go-http-peering/pipeline/head There was a failure building this commit
Some checks failed
Cadoles/go-http-peering/pipeline/head There was a failure building this commit
This commit is contained in:
11
Makefile
11
Makefile
@ -1,6 +1,8 @@
|
||||
SHELL := /bin/bash
|
||||
|
||||
test:
|
||||
test: go-test keygen-test
|
||||
|
||||
go-test:
|
||||
go clean -testcache
|
||||
go test -cover -v ./...
|
||||
|
||||
@ -36,6 +38,13 @@ gitea-release: .mktools tools/gitea-release/bin/gitea-release.sh release
|
||||
GITEA_RELEASE_ATTACHMENTS="$$(find release -type f -name '*.tar.gz')" \
|
||||
tools/gitea-release/bin/gitea-release.sh
|
||||
|
||||
keygen-test: tools/bash_unit/bin/bash_unit
|
||||
tools/bash_unit/bin/bash_unit misc/bash_unit/keygen_test.sh
|
||||
|
||||
tools/bash_unit/bin/bash_unit:
|
||||
mkdir -p tools/bash_unit/bin
|
||||
cd tools/bash_unit/bin && bash <(curl -s https://raw.githubusercontent.com/pgrange/bash_unit/master/install.sh)
|
||||
|
||||
.PHONY: mktools
|
||||
mktools:
|
||||
rm -rf .mktools
|
||||
|
Reference in New Issue
Block a user