Files
build-emacs-for-macos/pkg/sign/options.go
Jim Myhrberg 698756ac55 feat(sign): add sign command to sign Emacs.app bundles with codesign
The sign command signs Emacs.app application bundles with Apple's
codesign utility.

It does a few things outside of just executing codesign:

- Is aware of *.eln native-compilation files, which need to be
  explicitly searched for on disk and passed to codesign, as they are
  not detected when using the "--deep" option.
- Is aware of Contents/MacOS/bin/emacs CLI helper tool which we add into
  the application bundle, and specifically passed it to codesign as
  well.
- By default provides a set of entitlements which are relevant for Emacs
  when running codesign.
2021-06-22 00:08:36 +01:00

17 lines
305 B
Go

package sign
import "io"
type Options struct {
Identity string
Entitlements *Entitlements
EntitlementsFile string
Options []string
Deep bool
Timestamp bool
Force bool
Verbose bool
Output io.Writer
CodeSignCmd string
}