mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-22 00:03:58 +01:00
moved client/client.go to hishtory.go to support slsa l3 border
This commit is contained in:
parent
8bb1fd3856
commit
966f73757b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
web/landing/www/binaries/hishtory-linux
|
||||
hishtory
|
||||
|
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ test:
|
||||
HISHTORY_TEST=1 go test -p 1 ./...
|
||||
|
||||
build-binary:
|
||||
go build -trimpath -o web/landing/www/binaries/hishtory-linux -ldflags "-X main.GitCommit=`git rev-list -1 HEAD`" client/client.go
|
||||
go build -trimpath -o web/landing/www/binaries/hishtory-linux -ldflags "-X main.GitCommit=`git rev-list -1 HEAD`"
|
||||
|
||||
install: build-binary
|
||||
web/landing/www/binaries/hishtory-linux install
|
||||
|
@ -159,7 +159,7 @@ func installHishtory(t *testing.T, userSecret string) string {
|
||||
out := RunInteractiveBashCommands(t, `
|
||||
gvm use go1.17
|
||||
cd /home/david/code/hishtory
|
||||
go build -o /tmp/client client/client.go
|
||||
go build -o /tmp/client
|
||||
/tmp/client install `+userSecret)
|
||||
r := regexp.MustCompile(`Setting secret hishtory key to (.*)`)
|
||||
matches := r.FindStringSubmatch(out)
|
||||
|
Loading…
Reference in New Issue
Block a user