mirror of
https://github.com/kopia/kopia.git
synced 2026-07-12 22:52:32 -04:00
minor build tweaks (#830)
This commit is contained in:
2
.github/workflows/make.yml
vendored
2
.github/workflows/make.yml
vendored
@@ -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 }}
|
||||
|
||||
4
Makefile
4
Makefile
@@ -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