mirror of
https://github.com/kopia/kopia.git
synced 2026-10-23 06:38:42 -04:00
minor build tweaks (#830)
This commit is contained in:
1 parent
4bf42e337d
commit
a655d7b9e2
2 files changed
+3
-3
No files matched your search
@@ -27,7 +27,7 @@ jobs:
|
||||
WINDOWS_SIGN_USER: ${{ secrets.WINDOWS_SIGN_USER }}
|
||||
WINDOWS_SIGN_AUTH: ${{ secrets.WINDOWS_SIGN_AUTH }}
|
||||
WINDOWS_CERT_SHA1: ${{ secrets.WINDOWS_CERT_SHA1 }}
|
||||
WINDOWS_SIGN_TOOL: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.18362.0/x64/signtool.exe"
|
||||
WINDOWS_SIGN_TOOL: ${{ secrets.WINDOWS_SIGN_TOOL }}
|
||||
|
||||
# macOS signing certificate (base64-encoded), used by Electron Builder
|
||||
CSC_LINK: ${{ secrets.CSC_LINK }}
|
||||
|
||||
@@ -108,10 +108,10 @@ kopia-ui:
|
||||
# kopia-ui build needs this particular location to embed the correct server binary.
|
||||
# note we're not building or embedding HTML UI to speed up PR testing process.
|
||||
build-current-os-noui:
|
||||
go build -o dist/kopia_$(shell go env GOOS)_$(shell go env GOARCH)$(exe_suffix)
|
||||
go build -o dist/kopia_$(shell go env GOOS)_$(shell go env GOARCH)/kopia$(exe_suffix)
|
||||
|
||||
build-current-os-with-ui: html-ui-bindata
|
||||
go build -o dist/kopia_$(shell go env GOOS)_$(shell go env GOARCH)$(exe_suffix) -tags embedhtml
|
||||
go build -o dist/kopia_$(shell go env GOOS)_$(shell go env GOARCH)/kopia$(exe_suffix) -tags embedhtml
|
||||
|
||||
kopia-ui-pr-test: app-node-modules htmlui-node-modules
|
||||
$(MAKE) build-current-os-with-ui
|
||||
|
||||
Reference in new issue
Block a user